These are chat archives for canjs/canjs

3rd
Jul 2016
Thomas Sieverding
@Bajix
Jul 03 2016 01:56
I’m confused by the routing in 2.3.4… if I’m matching a pretty URL and then add a new attr to my app state, it’s resetting. Previously I could do something like can.route(‘/pages’, { screen: ‘page’, action: ‘index’ }) and then bind things like search bars to my router. Now if I’m on /pages and do can.route.attr(‘q’, ‘foo’), it’ll reset to /?q=foo