blazor-state gathered four Blazor state libraries side by side, plus Mutty and two samples; blazor-state-experiments archives seven earlier prototypes. Both are concept sources for Ducky 2.0, not packages to replace: each library maps to the Ducky 1.x, Bustand, TheBlazorState, BlazorMVU or Mutty migration guide, and the experiments map to the 2.0 feature that took their idea over.
Checklist
Find the library each app uses in the table below, and follow its guide: the libraries in the monorepo are the same code as their standalone repositories.
Reference Ducky and Ducky.Blazor (and Ducky.Reactive or Ducky.Draft where the table says so), and remove the monorepo's project references.
Register the slices with AddDucky(d => d.AddDuckyGenerated_{Assembly}()), and pass a JsonSerializerContext with UseJson.
immutable slice records; Redux DevTools for history
FluxState (a finite state machine with guards)
no equivalent: model the machine's state as a slice and its transitions as On<T> handlers
RxDDD.Domain (observable repositories)
no equivalent: load data in an Effect and reduce the result into a slice
What changes in behaviour
One store holds every slice, instead of one store per library or per component: a component reads only what it selects, and re-renders only when that selection changes.
Every state change goes through an action and a reducer, including the Set calls of a SliceStore, so updates are never lost when two run at once.
Persisted data from these libraries is not read back: each slice starts from its Initial value, and the next write stores the 2.0 format.