-
Notifications
You must be signed in to change notification settings - Fork 384
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
Get state in checkAuth #289
Comments
Hi @vmpj. What sort of state are you looking for? |
Hey @justin808, say I have a bool The solution I got working was based on an implementation using a higher-order component to wrap protected views. |
@vmpj Did you solve your problem? You will want to see these for inspiration:
We use redux to store application state. |
Thanks @justin808. I'll check it out. |
Currently in
TestReactRouterRedirect
a redirect is demonstrated and the state is stubbed.What would be the react-on-rails way to access/get state at this point? I've tried a few approaches with no success. Thanks.
The text was updated successfully, but these errors were encountered: