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
The text was updated successfully, but these errors were encountered:
heldrida
changed the title
HOC components don't work on <Route render=X /> or <route component=X />?
HOC components don't work on <Route render=HOC /> or <route component=HOC />?
May 31, 2017
Version
4.0.0
Test Case
https://codepen.io/helderoliveira/pen/rmXdgd
Steps to reproduce
Pass a function that returns a component to component={} or render={}
You can also find it reported here ( https://stackoverflow.com/questions/44289973/react-router-4-nesting-routes-alternative-technique )
Expected Behavior
If not support to return an error message
Actual Behavior
Blank
Also tried,
The text was updated successfully, but these errors were encountered: