-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
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
Add example using React Router #5
Comments
Hey I happen to have done this, the trick here is basically passing props through React router with the following pattern. Each Route takes a parameter render and you can pass your props here.
|
I check if the user exists and if not send them to SignIn, if so, send them to the app... Not sure if it's better or cleaner, but its a full example :-)
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: