oaf-react-router icon indicating copy to clipboard operation
oaf-react-router copied to clipboard

Update to reflect that React Router now supports scroll restoration

Open danielnixon opened this issue 1 year ago • 1 comments

At the time I created this library, React Router (v5? v4?) had no support for scroll restoration. It does now (see https://reactrouter.com/en/6.6.2/start/overview#scroll-restoration).

  • Does this conflict with what oaf-react-router does? Probably.
  • Does it support focus restoration as well as scroll position? Probably not.
  • Do we need to update this library? Probably.
  • Do we need to update this readme? Definitely.

danielnixon avatar Jan 09 '23 22:01 danielnixon

See https://github.com/remix-run/react-router/discussions/9555

danielnixon avatar Jan 11 '23 22:01 danielnixon