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
Warning: Failed prop type: Invalid prop `component` of type `object` supplied to `Route`, expected `function`.
in Route (created by BasicExample)
in BasicExample
The text was updated successfully, but these errors were encountered:
Check PropTypes of React Router shows an error when I use lazy
Hi, the console shows me an error when I use React.lazy.
Version
"react-router-dom": "4.3.1"
Test Case
https://codesandbox.io/embed/mjqr197v38
Steps to reproduce
Expected Behavior
It should not show me the error.
Actual Behavior
The text was updated successfully, but these errors were encountered: