npm / local-replica
local-replica
What changed in local-replica 0.0 to 0.4, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
5 new APIs and options4 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initlocal-replica 0.42 changes
New APIs and options 1
Adds a built-in zustand driver, so a replica no longer needs a fetching library.
Fixes and other changes 1
useSync callers subscribe to isValidating and error only when those values are read.
local-replica 0.31 changes
New APIs and options 1
Adds a driver for TanStack Query v5.
local-replica 0.24 changes
New APIs and options 2
Adds createReplica.
Adds a store-less useReplica hook.
Fixes and other changes 2
Accepts SWR's mutate as is.
Infers the store from get / set.
local-replica 0.11 changes
Fixes and other changes 1
A useSync request that lands after params turn null is settled.
local-replica 0.01 changes
New APIs and options 1
Adds an effect that runs for every successful response.