Closed yezongyang closed 7 years ago
@arvigeus isnt it the same as in docs except there no props? I tried same but with props and it doesnt work with switch
@aldarund I just send a PR for the
@pc035860 https://github.com/ReactTraining/react-router/issues/5411
Thinks you
I ran into the same issue. That change resolved it. Thanks @pc035860
Try this for now:
<Route render={() => <LazyRoute component={import("myComponent")}>}/>