Add prettier. Format.
This commit is contained in:
@@ -193,12 +193,12 @@ Deployment infrastructure must still avoid long-lived caching for `sw.js` and th
|
||||
|
||||
## Summary of deliberate trade-offs
|
||||
|
||||
| Decision | Benefit | Cost |
|
||||
| --- | --- | --- |
|
||||
| Keep Vue Router authoritative | Guards, URLs, redirects, and ecosystem compatibility | Reconciliation complexity |
|
||||
| Render a preview before commit | Truly interactive and cancellable navigation | Two live component trees and preview side effects |
|
||||
| Maintain separate history and view ledgers | Correct back semantics plus tab caching | More state and invariants |
|
||||
| Interrupt springs but finish semantic commits | No animation cooldown without corrupting history | Guard/history latency can remain |
|
||||
| Require explicit route topology | Deterministic parent and sibling behavior | More route metadata |
|
||||
| Bound mounted views | Predictable DOM and memory use | Component-local state can be evicted |
|
||||
| Use progressive platform adapters | One core across PWA, Electron, and Capacitor | Browser/PWA guarantees remain weaker than native hosts |
|
||||
| Decision | Benefit | Cost |
|
||||
| --------------------------------------------- | ---------------------------------------------------- | ------------------------------------------------------ |
|
||||
| Keep Vue Router authoritative | Guards, URLs, redirects, and ecosystem compatibility | Reconciliation complexity |
|
||||
| Render a preview before commit | Truly interactive and cancellable navigation | Two live component trees and preview side effects |
|
||||
| Maintain separate history and view ledgers | Correct back semantics plus tab caching | More state and invariants |
|
||||
| Interrupt springs but finish semantic commits | No animation cooldown without corrupting history | Guard/history latency can remain |
|
||||
| Require explicit route topology | Deterministic parent and sibling behavior | More route metadata |
|
||||
| Bound mounted views | Predictable DOM and memory use | Component-local state can be evicted |
|
||||
| Use progressive platform adapters | One core across PWA, Electron, and Capacitor | Browser/PWA guarantees remain weaker than native hosts |
|
||||
|
||||
Reference in New Issue
Block a user