Ducky Docs
Migrate pages

How Ducky compares

This page sets Ducky 2.0 beside the most widely used state-management options for Blazor: Fluxor, the most downloaded Redux-style library for Blazor on nuget.org; TimeWarp.State, formerly Blazor-State; and the hand-written state container of Microsoft's Blazor docs, with the persistent component state that .NET 10 adds. Every statement about another library links to its documentation, source or issue tracker, and every statement about Ducky links to the guide that shows it.

The snapshot is as of 2026-11-08: Fluxor 6.11.0 (released 2026-08-03), TimeWarp.State 11.0.3 (its latest stable release, 2025-06-20; from beta.9 the 12.0 betas target .NET 11, and they are not compared), and ASP.NET Core 10.0. Ducky 2.0 is a pre-release: it is not yet published on nuget.org. Fluxor has been on nuget.org since 2020 and has years of production use.

The migration guides take an app from each: Fluxor, TimeWarp.State, a hand-written state container.

The matrix

Ducky 2.0 Fluxor 6.11.0 TimeWarp.State 11.0.3 Hand-written container + .NET 11
Programming model Redux: immutable slices, pure reducers, effects; a SliceStore for method-style state (Getting started, SliceStore) Redux/Flux: feature states, reducer methods, effect methods (tutorials) one async handler per action, sent through MediatR, mutating a mutable state (sample) a service with mutable properties and an OnChange event (docs)
Registration generated at build time: AddDuckyGenerated_{Assembly}() (Getting started) reflection scan at startup: ScanAssemblies (source) assembly scan and MediatR registration at startup (source) AddScoped or AddSingleton by hand (docs)
Reducers On<TAction> returning the next state; exact action type; a new reference is a change (Slices and keys) [ReducerMethod], usually static; also matches derived action types (source); a new reference is a change (source) the handler mutates the state; by default (UseStateTransactionBehavior, source) the state is cloned before each action for rollback (source) methods set properties
Effect concurrency and cancellation per effect: Merge, Switch, Exhaust or Queue, per concurrency key; a run token cancelled when superseded (Effects) every matching effect starts for every action; no token, no policy (source) the handler gets a CancellationToken; CancelOperations() cancels all of a state's operations; no policy (source) your own code
Dispatch result await DispatchAsync(...) gives a DispatchResult once the action is reduced (threading contract) Dispatch returns void (source) the generated method completes after the handler (source) a method call
Failures ReducerFailed and EffectFailed actions; a throwing reducer commits nothing (Effects, Slices and keys) effect exceptions are raised on Store.UnhandledException (source) by default the state is restored and an ExceptionNotification published, and the caller sees no exception (source) exceptions reach the caller
Prerender and static SSR the store works in both; Prerender<T> seeds the interactive store once the prerender store is idle (Prerender, Static SSR) with StoreInitializer, the store starts in OnAfterRenderAsync (source), so it is not initialized during prerender or static SSR unless the app calls IStore.InitializeAsync() itself, which breaks Redux DevTools; no release contains the fix (#547) prerendered state is not carried to the interactive render: the PreRender persistence method returns null with a // TODO (source) built in: [PersistentState] and RegisterPersistentService carry values to the interactive render (docs)
Persistence built in: localStorage, sessionStorage, or per user in IDistributedCache; versions, migrations, expiry (Persistence) community package Fluxor.Persist 3.1.0, net8.0 and net9.0 (repository, nuget.org) TimeWarp.State.Plus: localStorage or sessionStorage, registered by hand (README) none; the docs' container "doesn't persist data without further development" (docs)
Multi-tab sync SyncAcrossTabs for localStorage slices (Cross-tab sync) not built in (no option in FluxorOptions) not built in (no option in TimeWarpStateOptions) not built in
Redux DevTools built into Ducky.Blazor: UseDevTools(), with sanitizers and time travel (Redux DevTools) separate package Fluxor.Blazor.Web.ReduxDevTools: time travel (jump to state), action filters, optional stack traces (tutorial, options) UseReduxDevTools() plus two components (sample); time travel needs a Hydrate override per state (source); removed in 12.0.0-beta.11 none
AOT and trimming IsAotCompatible; checked by a Native AOT smoke test and a trimmed WebAssembly test (SPEC §10) the reflection scan is not AOT-compatible; building the store by hand is, per its maintainer (#507) reflection: assembly GetTypes() scan and MediatR registration (source), reflection cloning; the 12.0 betas build with IsAotCompatible from beta.11 (release notes) your code; [PersistentState] serialization "isn't trimmer safe" without preserving the types (docs)
Testing helpers Ducky.Testing: SliceTest, EffectTest, TestStore with a fake clock (Testing) no testing package; reducers are static methods, and Effect<T>.HandleAsync is public "to make unit testing easier" (release notes) no testing package; its own tests build a host and send actions (source) plain classes, tested directly
Target frameworks net11.0 (SPEC §3) net8.0, net9.0, net10.0 (nuget.org) net8.0 (nuget.org) any; [PersistentState] needs .NET 10 (docs)
License Apache-2.0 (LICENSE) MIT (nuget.org) Unlicense (nuget.org) n/a
Maturity 2.0 is a pre-release, not on nuget.org; Ducky 1.x: 3,486 downloads of Ducky (nuget.org) on nuget.org since 2020; 4,058,068 downloads of Fluxor.Blazor.Web; 1,474 GitHub stars (nuget.org, GitHub) 39,782 downloads of TimeWarp.State, plus 373.0K of the deprecated Blazor-State id; 610 GitHub stars (nuget.org, Blazor-State, GitHub) Microsoft's documented pattern, part of ASP.NET Core

Download counts are nuget.org totals on 2026-11-08. They include CI restores and mirrors, so read them as relative indicators, not user counts.

Where the others are ahead

  • Fluxor runs on .NET 8, 9 and 10, has been released on nuget.org since 2020, and counts over four million downloads of Fluxor.Blazor.Web. Its behaviour is known from years of production use; Ducky 2.0's is not yet.
  • TimeWarp.State needs fewer types for an async operation: one handler awaits and mutates, where Ducky asks for a reducer and an effect. Its stable line runs on .NET 8.
  • A hand-written container has no dependency at all, and on .NET 11 its prerendered values reach the interactive render with one attribute and one registration. For a few values shared by a few components, it is the simpler choice.
  • Equal: Fluxor and Ducky both detect a change by reference, both create one effect instance per store, and both build on the same Redux DevTools extension.

When not to choose Ducky

  • Your app targets .NET 8, .NET 9 or .NET 10. Ducky 2.0 targets net11.0 only. Fluxor supports .NET 8 through .NET 10.
  • You need a released, proven library today. Ducky 2.0 is a pre-release.
  • You prefer MVVM. Ducky is a Redux store. View models with CommunityToolkit.Mvvm are a different model, not a migration.
  • Your app is small. A few values shared by a few components need no store: a state container service, or a cascading value, is less code.
  • You rely on packages built for another library, such as Fluxor.Persist or Fluxor middleware from the community.