Open sarkistlt opened 8 years ago
How can i track when template is ready to do some action after that?
For example:
FlowRouter.route("/time", { action: () => { mount(Layout, { content: (<Time />) }); console.log(document.getElementById('react-root')); } });
Always return null
null
With the lifecycle of your <Layout> if it's shared with all routes or the <Time> if it's specific to your time route. Check componentDidMount.
<Layout>
<Time>
time
componentDidMount
How can i track when template is ready to do some action after that?
For example:
Always return
null