How can I validate a link param in validateSearch? #1689
Unanswered
lrosenfeldt
asked this question in
Q&A
Replies: 1 comment
-
Did you figure it out? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to add a
redirect
search param to dynamically redirect a User on login. I currently only check if the param is a string, but I would like to check if it is a valid link within my app. It would be nice if could check the given link withinvalidateSearch
.Without any better idea I would try to catch the
navigate
call and than redirect to the fallback if I hit the not found error.I really enjoy working with the router, thank you for the nice work!
Beta Was this translation helpful? Give feedback.
All reactions