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
I have a reference to an object containing getComponent(...) method for obtaining a React component.
I try to render this component inside a nested route like so:
and I get the following error: Failed prop type: Invalid prop 'component' supplied to 'Route': the prop is not a valid React component.
I've seen similar issues like 6741
where the issue is resolved by upgrading the library version to react-router-dom@5.0.0, but my dependencies are up-to date:
👋 @Kashio, we use the issue tracker exclusively for bug reports and feature requests. However, this issue appears to be a support request. For usage questions, please use Stack Overflow or Reactiflux where there are a lot more people ready to help you out.
Please feel free to clarify your issue if you think it was closed prematurely.
I have a reference to an object containing
getComponent(...)
method for obtaining a React component.I try to render this component inside a nested route like so:
and I get the following error:
Failed prop type: Invalid prop 'component' supplied to 'Route': the prop is not a valid React component
.I've seen similar issues like 6741
where the issue is resolved by upgrading the library version to
react-router-dom@5.0.0
, but my dependencies are up-to date:Any ideas on how can I solve this problem ?
The text was updated successfully, but these errors were encountered: