You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure how to do this with react-router. If all else fails I guess the editor could be split off into a separate document and we could use window.onbeforeunload to pop up the native confirmation box.
The text was updated successfully, but these errors were encountered:
That issue thread was really useful! I had to downgrade react-router-dom to v6.3.x from v6.4.x to use the implementations shared in that thread, but they seem to work well. I will have to make some UX decisions now.
I'm not sure how to do this with react-router. If all else fails I guess the editor could be split off into a separate document and we could use
window.onbeforeunload
to pop up the native confirmation box.The text was updated successfully, but these errors were encountered: