rsnext/packages/next/next-server
Joe Haddad 8bab640ef6
fix(next/link): reset scroll before lifecycles (#20595)
This moves the scroll reset behavior to happen synchronously with the DOM commit, instead of a few ticks after the render completes.

This is necessary for components that read scroll state on mount.

---

Fixes #6462
2020-12-30 04:33:08 +00:00
..
lib fix(next/link): reset scroll before lifecycles (#20595) 2020-12-30 04:33:08 +00:00
server Ensure next/image loads correctly with basePath (#20592) 2020-12-30 01:57:08 +00:00