remix-run / history

Manage session history with JavaScript
MIT License
8.29k stars 961 forks source link

feat: remove block() API #944

Closed brophdawg11 closed 2 years ago

brophdawg11 commented 2 years ago

Re-implements selective portions of #932 on top of the latest dev (post-prettier update) (does not remove action logic).

BREAKING CHANGE: The removal of history.block() will be a breaking change in history@6

mjackson commented 2 years ago

Thanks for doing this exploratory work, @brophdawg11. I'm going to close this and we'll follow up in the router repo. 👍

sdlbp commented 8 months ago

Why is this API being deleted? What factors were considered?