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
The migration guide from v5 to v6 does not mention how to replace history.block. We are using this in a custom hook to prevent page navigation when a form is dirty. What is the migration from this function now that useHistory has been replaced?
The text was updated successfully, but these errors were encountered:
The migration guide from v5 to v6 does not mention how to replace
history.block
. We are using this in a custom hook to prevent page navigation when a form is dirty. What is the migration from this function now thatuseHistory
has been replaced?The text was updated successfully, but these errors were encountered: