We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In react-router you can define your routes as a plain object, as seen here
react-router
When I pass in a simple example, I get the following error.
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.
Does react-router-native not support defining routes as a plain object? Or am I just doing it incorrectly?
react-router-native
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In
react-router
you can define your routes as a plain object, as seen hereWhen I pass in a simple example, I get the following error.
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.
Does
react-router-native
not support defining routes as a plain object? Or am I just doing it incorrectly?The text was updated successfully, but these errors were encountered: