sshyam-gupta / react-router-prompt

A replacement component for the react-router 6 `Prompt`. Allows for more flexible dialogs.

Home Page:https://codesandbox.io/s/react-router-prompt-example-react-router-6-7-y9ug7z?file=/src/App.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No longer compatible with react-router

razor-1 opened this issue · comments

commented

react-router v6.19 removed the unstable_ prefix from useBlocker, which breaks this library.

It should be updated along with the various out of date dependencies if it's still maintained.

Thank you

Hey, @razor-1. Thank you so much for taking the time to point this out

Hi, thanks for the nice lib. Is there any update on this?

any news when the fix will be merged?

Extremely sorry, I didn't get a chance to look at this, will go through the changes. Thanks for the PR

Release v0.6.0.
Thank you @andrewbusch7 for your PR here and everyone for keeping patience.
I will be updating the dependencies in the coming days.