@jsenv/navi 0.29.435 → 0.29.436

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.
@@ -451,6 +451,9 @@ What that means for a page and for the application around it:
451
451
  running, and a component reading the URL, a route or a signal directly
452
452
  re-renders in it too, hidden. What it reads through `useAsyncData` does not:
453
453
  navi leaves a page alone as soon as its container would no longer show it.
454
+ Its `navState` keeps the entry it was shown on: a section or a popup open
455
+ there stays open until the page is taken down, rather than being closed by
456
+ the entry that replaced it.
454
457
  - **It is taken down after the page arriving is up.** A cleanup that puts back
455
458
  what it found — a document title, a class on `<body>`, a value in a shared store
456
459
  — puts a stale value back over the new page's. Such a registration is written as
@@ -475,6 +478,10 @@ What that means for a page and for the application around it:
475
478
  itself out of reach — the page arriving could not even take the focus — and one
476
479
  in a page kept while leaving would stay open for the whole movement. The page is
477
480
  then taken down at once, as without a movement.
481
+ - **Not past a `<Loading>` around both pages.** When the page arriving suspends
482
+ to a boundary that holds the page being left too, the boundary parks both and
483
+ runs every cleanup in them: the page being left is then taken down when the
484
+ boundary resumes, instead of having all its effects run again while hidden.
478
485
  - **Only where the page would have been taken down anyway.** A page rendered by
479
486
  the same element on both sides — two routes, one component — is the same
480
487
  instance carried over.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/navi",
3
- "version": "0.29.435",
3
+ "version": "0.29.436",
4
4
  "type": "module",
5
5
  "description": "Library of components including navigation to create frontend applications",
6
6
  "repository": {