跳到主要内容

3 篇文档带有标签「facet:state-and-data」

查看所有标签

State and Data

Where each kind of state belongs: local, lifted, context, external store, URL and server cache; how subscriptions stay tear-free; and how races, invalidation and optimistic updates decide correctness.

State and Data

Svelte compiles components into direct DOM operations: runes for state, derived and effects, the legacy assignment model, and the SvelteKit file conventions around them.

State and Data

Proxy-based dependency tracking: ref and reactive, computed caching, watch flush timing, batched updates in a microtask, and what the template compiler does before render.