Version 6 is a great chance for us to get the router all ready for the future of
React: suspense. Instead of giving you access to the history
instance directly
(usage of which would introduce subtle bugs in a suspense-enabled app), v6 gives
you a useNavigate
hook. This is useful any time you need to navigate
imperatively, e.g. after the user submits a form or clicks on a button.
If you want to change selection, open document below and click on "Move attachment"
Summary
status | not read | | reprioritisations | |
---|
last reprioritisation on | | | suggested re-reading day | |
---|
started reading on | | | finished reading on | |
---|
Details