-
-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
v5 to v6 upgrade guide should mention that usePrompt and <Prompt> have been removed #8330
Comments
It would be nice if this was mentioned in the API docs too. I realize the URL indicates they're the v5 docs but the link to them suggests they're also the v6 docs and staring at it trying to figure out why the import no longer works isn't a fun way to find out about this change. |
anyone know how can block navigation in v6 ? |
I'm in need of this too - I tried looking though the code but I can't find anything that would allow me to do something before navigation (like blocking)... |
FWIW I've decided to use this opportunity to migrate from RRv5 to Next since the move to RRv6 would already involve a number of breaking changes. |
Many code bases use the `<Prompt>` component from v5 but don't find out that support is currently missing from v6 until after attempting to upgrade. This adds this information to the upgrade guide so that is more likely that I would be discovered before lots of effort is invested. Fixes remix-run#8330
Is there an eta on bringing up the usePrompt with 6.2.x? Thanks. |
What is the new or updated feature that you are suggesting?
There is no mention in the v5 to v6 upgrade guide that
<Prompt>
has been removed.Why should this feature be included?
I discovered the following in the release notes for v6.0.0-beta.7:
It might be a good idea to mention this at the beginning of the guide because people who are using
<Prompt>
are unable to upgrade to v6 at the moment.The text was updated successfully, but these errors were encountered: