@jsenv/navi 0.29.438 → 0.29.440

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.
@@ -64,7 +64,9 @@ Everything the data layer decides then holds for the code:
64
64
  without `error: true`.
65
65
  - **Fetched once.** A route action left behind is aborted, not reset, and a
66
66
  completed one is not run again: coming back to the page renders synchronously,
67
- only the data is asked for per params.
67
+ only the data is asked for per params. A refresh of the page on screen reruns
68
+ `activeRouteReadsSignal`, which leaves the code out: rerun, it would take a
69
+ page reading it delegated off the screen for a frame.
68
70
  - **Fetched ahead**, on intent ([below](#ahead-of-the-render-intent)).
69
71
 
70
72
  ## A component inside a page that stays: who asks for its code
package/docs/resource.md CHANGED
@@ -165,8 +165,9 @@ keepPageOnScreen({
165
165
  screens: `GAME.GET` for any game opened, `USER.GET_MANY` for a tab and for
166
166
  every search. Kept per resource, that is every game ever opened. The page's
167
167
  reads are what navi already runs for it: the route actions asking something for
168
- the page (`activeRouteActionsSignal`, which the app also reads to rerun the page
169
- when it comes back to the foreground), and the compositions the `<List.Items>`
168
+ the page (`activeRouteActionsSignal`; `activeRouteReadsSignal` is the same set
169
+ without the page's code, what the app reruns when it comes back to the
170
+ foreground), and the compositions the `<List.Items>`
170
171
  on screen read. A navigation replaces the slot with the next page's reads.
171
172
 
172
173
  What is kept, for the next document's first run of the same read with the same
package/docs/scroll.md CHANGED
@@ -357,13 +357,14 @@ blank where an item should be — with one simple rule, not a model of every kin
357
357
  of item.
358
358
 
359
359
  What is drawn, the list measures: the render window is sized on the room the
360
- items it draws actually take. What is not drawn it cannot measure, so it
361
- guesses:
362
-
363
- - the fillers hold every item outside the window at one size — `virtualItemSize`
364
- when given, the average of the items measured so far otherwise. A scroll
365
- position inside a filler is read with it too, and an item on its way takes at
366
- least that room;
360
+ items it draws actually take, and an item that leaves the window is held at the
361
+ room it took — the window sliding changes nothing above the screen. What was
362
+ never drawn it cannot measure, so it guesses:
363
+
364
+ - the fillers hold every item never drawn at one size — `virtualItemSize` when
365
+ given, the average of the items measured so far otherwise. A scroll position
366
+ inside a filler is read with it too, and an item on its way takes at least
367
+ that room;
367
368
  - when the window reaches past what it has drawn, it weighs the next items like
368
369
  the drawn ones next to them, and measures them once they are drawn.
369
370
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/navi",
3
- "version": "0.29.438",
3
+ "version": "0.29.440",
4
4
  "type": "module",
5
5
  "description": "Library of components including navigation to create frontend applications",
6
6
  "repository": {