@jsenv/navi 0.30.10 → 0.30.11
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 +23 -7
- package/dist/dev/jsenv_navi.js.map +4 -4
- package/dist/jsenv_navi.js +23 -7
- package/dist/jsenv_navi.js.map +4 -4
- package/docs/actions.md +5 -2
- package/package.json +1 -1
package/docs/actions.md
CHANGED
|
@@ -277,8 +277,9 @@ at best, a gesture late in a popup. It is for a parameter chosen inside the
|
|
|
277
277
|
component and dying with it. Outside a component,
|
|
278
278
|
`actionRunEffect(action, () => …)` is that same run declared once — it runs on
|
|
279
279
|
the first truthy params, reruns when they change (unless the action declared
|
|
280
|
-
`keep` and still holds the answer for the new ones
|
|
281
|
-
|
|
280
|
+
`keep` and still holds the answer for the new ones, or only a prerun asked for
|
|
281
|
+
them: that answer was read ahead for this arrival and is taken as it is), aborts
|
|
282
|
+
when they go false — and the machinery `routeAction` is built on.
|
|
282
283
|
|
|
283
284
|
**Which of the two it is, is decided by the parameter, not by what draws it.**
|
|
284
285
|
If the parameter is in the address — a path param, a search param bound to a
|
|
@@ -311,6 +312,8 @@ It needs no `<Loading>`, and its failure reaches no boundary: nothing on screen
|
|
|
311
312
|
asked for a prerun, so the owner's `{ run: true }` asks again, once, when it
|
|
312
313
|
reads it. A failure of the owner's own run is shown, and asked again by a
|
|
313
314
|
`rerun()`, never by a render. A head start still running is the owner's wait.
|
|
315
|
+
A write that would ask a read again drops a head start instead: the owner
|
|
316
|
+
finds it idle and asks for itself.
|
|
314
317
|
|
|
315
318
|
`{ onLoad }` is what the screen does with the data **once, when it becomes
|
|
316
319
|
known** — seed the fields someone is about to edit, focus something, remember
|