rescript-react
rescript-react copied to clipboard
Scroll Restoration
What do you think about add Scroll Restoration in React Router to ReScript React as well? This feature is also supported in Remix and Next.js, and I just thought it would be nice if it shipped with ReScript React out of the box.
- React Router
- https://reactrouter.com/en/main/components/scroll-restoration
- Remix
- https://remix.run/docs/en/main/components/scroll-restoration
- Next.js
- https://github.com/vercel/next.js/blob/canary/packages/next/src/shared/lib/router/router.ts