react-router-loader
react-router-loader copied to clipboard
Passing in props
Works great! I was wondering if there's a way to pass in props to the component?
I used to be able to do {(props) => <Home {...props} store={store} />}, how would I go about doing that now?
I think there is no necessary to use this loader, cause the react-router's dynamic route feature is already available.
@ian4hu Yes. You can use require.ensure instead of this loader.