Move to internal currentDate state and update hash fragment on idle
Updating the hash fragment causes a small delay while scrolling. => Update only after user finished scrolling. Uses requestIdleCallback which is not ready for prime time in Safari. But should work elsewhere.
Loading
Please register or sign in to comment