-
Notifications
You must be signed in to change notification settings - Fork 68
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
Redirect in route render #156
Comments
I'd render a dummy component ( |
Thanks for the quick answer. That's how I already do it but that feels like a hack tbh... |
A bit. Maybe I can inject |
I think having the |
Do you think it make sense to reopen this in the meanwhile? |
To fix this, I've created a |
@fabiosantoscode where we can see your Redirector component? |
React Router as-is doesn't offer the necessary hooks to do this the way I want. This functionality is doable with found; see relay-tools/found-relay#1. |
First of all thanks for actively maintaining this library! 👍
I was wondering what's currently the best practise to do a redirect when a Relay route returns an error?
A minimal workaround could look like this but there has to be a better way.
The text was updated successfully, but these errors were encountered: