Add docs and further stress tests to the demo
This commit is contained in:
10
README.md
10
README.md
@@ -41,6 +41,8 @@ Run the normal `npm run dev` command, expose its printed network address through
|
||||
|
||||
The Navigation Lab reports `Standalone`, `ready`, and `App reserved` when the correct environment is active, and shows the exact build ID plus update-check count. Production builds check for updates whenever the app starts, returns to the foreground, regains connectivity, or has been open for a minute; activation reload waits for any live gesture to finish. Open a conversation and drag from the extreme left edge. The “Leading-edge touches claimed” counter should increment while the router renders its live predictive-back view.
|
||||
|
||||
For more aggressive lifecycle testing, open **You → Runtime stress lab**. It is a deeper route that keeps the primary tab bar, opts into push-style sibling history, exposes how long its route component has remained mounted, and renders a one-second async child through `<Suspense>`. Return to You, enable **Block cached lab re-entry**, and try opening it again to exercise an asynchronous route guard against an already-mounted cached destination.
|
||||
|
||||
An installed web app cannot access `WKWebView.allowsBackForwardNavigationGestures`. The demo therefore reserves leading-edge touch sequences at the web-content boundary as an iOS standalone-only safeguard. Capacitor remains the deterministic option when native-level gesture suppression is required.
|
||||
|
||||
## Minimal integration
|
||||
@@ -94,7 +96,13 @@ Use `nativeRouter.sibling(to)` for tab or peer-route navigation. Direction is de
|
||||
- `@native-vue-router/capacitor` — hardware back, deep links, pause cancellation, root exit, and haptics.
|
||||
- `@native-vue-router/electron` — Chromium history-gesture suppression and renderer back/forward bridging.
|
||||
|
||||
See [architecture](docs/architecture.md) and [platform integration](docs/platforms.md) for the transaction lifecycle and host-specific behavior.
|
||||
Design and engineering documentation:
|
||||
|
||||
- [How it works and why the pattern is uncommon](docs/how-it-works.md)
|
||||
- [Engineering challenges, Vue Router limitations, and trade-offs](docs/challenges-and-tradeoffs.md)
|
||||
- [Core principles, scalability, and flexibility](docs/principles-and-scalability.md)
|
||||
- [Architecture reference](docs/architecture.md)
|
||||
- [Platform integration reference](docs/platforms.md)
|
||||
|
||||
## Support contract
|
||||
|
||||
|
||||
Reference in New Issue
Block a user