@jsenv/navi 0.29.498 → 0.29.499
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dev/jsenv_navi.js +24 -25
- package/dist/dev/jsenv_navi.js.map +2 -2
- package/dist/jsenv_navi.js +24 -25
- package/dist/jsenv_navi.js.map +2 -2
- package/docs/navigation.md +8 -7
- package/package.json +1 -1
package/docs/navigation.md
CHANGED
|
@@ -615,12 +615,12 @@ later.
|
|
|
615
615
|
page has nothing to draw for: its code arriving on its own
|
|
616
616
|
([dynamic_import.md](./dynamic_import.md)), a read the previous document did not
|
|
617
617
|
keep ([`keepPageOnScreen`](./resource.md#keeppageonscreen-the-page-on-screen-drawn-again-by-the-next-document) draws a kept one at once, and that one
|
|
618
|
-
is not waited for), a read reset since the page was left. The position is
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
618
|
+
is not waited for), a read reset since the page was left. The position is
|
|
619
|
+
written at once into what the page shows meanwhile, as far as that goes — left
|
|
620
|
+
at the top until then, the page would be seen jumping, and a route transition
|
|
621
|
+
photographs it as soon as it renders — and put back again once they have
|
|
622
|
+
answered and the page has rendered. When one of them fails, nothing more is
|
|
623
|
+
written: the screen saying so is not the page the position was taken
|
|
624
624
|
on, and the position stays for the visit that brings it back. What it costs: a
|
|
625
625
|
slow read that every page asks for delays the position of every page, since
|
|
626
626
|
nothing tells navi which reads set the height.
|
|
@@ -653,7 +653,8 @@ drawn, and the action asking by then is waited for.
|
|
|
653
653
|
**What navi cannot see, the page says**: a read it starts itself
|
|
654
654
|
(`useAsyncData(…, { run: true })`), content whose height arrives late. While
|
|
655
655
|
`useHoldScrollRestoration(held)` is given `true`, the position of a reload or of
|
|
656
|
-
a back/forward
|
|
656
|
+
a back/forward is written only as far as the page goes; it is put back again
|
|
657
|
+
after the render that turns it `false`:
|
|
657
658
|
|
|
658
659
|
```jsx
|
|
659
660
|
const [games] = useAsyncData(GAMES, { loading: true, run: true });
|