Replies: 2 comments
-
Will |
Beta Was this translation helpful? Give feedback.
0 replies
-
I didn't see this in the documentation, I think it should solve my problem, thanks |
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.
-
Add 2 props for /, the first one would be boolean, and the second callback, to which the link path is passed, this would simplify the work with the redirection warning in the interior of the site,
Real usage scenario: I'm doing online tic tac toe, and when I'm online I need to warn the player if he goes to another page, he will lose the rating. I implemented this functionality on 'useNavigate()', but it would be cool if it were native, and together with the /features
P.S. I can do the implementation of this feature
Beta Was this translation helpful? Give feedback.
All reactions