How to make a routing configuration file in React Router 4 (subtitles)

When react-router 4 only appeared, many experienced on two occasions:
 
 
How to render the routing in a separate file (configurations)
 
How to now live without an onEnter hook.
 
 
The video from Tyler McGinnis covers the first question.
 

here .
+ 0 -

Add comment