Closed SylarRuby closed 8 years ago
I am using FlowRouter.go('/'); inside of a react component:
FlowRouter.go('/');
componentWillMount() { FlowRouter.go('/'); }
Only the url changes but not the html body. How to properly do this?
This is a bug in the current flow router. Do it inside a setTimeout(). This is fixed in the kadira:flow-router-ssrversion.
setTimeout()
kadira:flow-router-ssr
Thanks mate!
I am using
FlowRouter.go('/');
inside of a react component:Only the url changes but not the html body. How to properly do this?