You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As react router dom is the most used router for react. it will be nice to have an example of integrating the router with the bootstrapper to make sure the bootstrap function is called on route change (somehow)
The text was updated successfully, but these errors were encountered:
classDirectComponentextendsComponent{bootstrap(){console.log('direct bootstrap was called',this);returnnewPromise((resolve)=>{setTimeout(()=>{resolve(1)},2000)})}componentDidMount(){console.log('component did mount');this.bootstrap();}render(){console.log('render called');return(<div>
my component
</div>)}}
As react router dom is the most used router for react. it will be nice to have an example of integrating the router with the bootstrapper to make sure the bootstrap function is called on route change (somehow)
The text was updated successfully, but these errors were encountered: