next.js
5424e5aa - Document no end for hash-only navigations and the event timestamp timebase

Commit
133 days ago
Document no end for hash-only navigations and the event timestamp timebase A hash-only navigation commits a tree that is already on screen: its marker never leaves the screen, so no marker newly shows and no end is reported. The RouterTransitionEndEvent doc claimed the opposite (end "in the same commit" for hash-only navigations) — that was never true under either marker implementation (the pre-Activity-fix marker latched once per instance mount too). Correct the doc and pin the behavior with a fixture test. Also document the previously-undocumented public timestamp timebase (performance.timeOrigin + performance.now(), epoch ms) and the id field.
Author
Jude Gao
Parents
Loading