Open vyky opened 8 years ago
I simply need dynamic routing with flow router and react mounter
FlowRouter.route('/sub/:id', { name: "MyComponent", action: function(params, queryParams) { console.log(params); mount(MyComponent, {params: params}); } });
When id change, url change. But view doesn't change, no props change, no rerendering
id
FlowRouter isn't reactive. You should put all of your reactivity in your components
I simply need dynamic routing with flow router and react mounter
When
id
change, url change. But view doesn't change, no props change, no rerendering