Replies: 1 comment
-
The primary way to block navigation in |
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.
-
After the
Prompt component
was removed, theunstable_useBlocker
andunstable_usePrompt
hooks were added again. However, the "message" prop, which is one of the most important features of the Prompt component, does not have the ability to work as a function. One of the parameters that the function message prop return was the next route to proceed. I will need this as soon as possible. The nextPathname prop used in the unstable_useBlocker hooks is the related prop which I need.Beta Was this translation helpful? Give feedback.
All reactions