Open devethan opened 4 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Did you find a good way of doing this @devethan?
Hi all. I'm in making relay-boilerplate now. It uses relay-hooks,
RelayEnvironmentProvider
in order to set a relay environment.Previously, I faced the problem resetting relay environment instance on authentication flow but I found the way is managed by the global state on the provider.
Here's my code.
I wanna find the best way for managing relay environment when users logging out/on and share it with your opinion.
If you can share a good way, please leave me a comment. Thanks for reading.