Skip to content

Advanced Features

Reacton's core is intentionally small -- reacton(), computed(), watch(), set(). But when your application grows, Reacton scales with you through a set of opt-in advanced features that cover enterprise-grade requirements.

Feature Overview

FeatureDescriptionUse Case
MiddlewareIntercept reacton lifecycle events (init, read, write, dispose)Logging, validation, analytics, persistence
PersistenceAuto-persist reacton values to storageUser preferences, auth tokens, cached data
HistoryUndo/redo with full action audit logForm editing, drawing apps, time-travel debugging
State BranchingGit-like branching for stateForm preview, A/B testing, speculative updates
State MachinesTyped state/event transitions with guardsAuth flows, wizards, complex workflows
ModulesGroup related reactons with lifecycle managementFeature isolation, team boundaries, lazy loading
Observable CollectionsReactive lists and maps with granular change eventsTodo lists, user directories, inventories
Multi-IsolateShare state across Dart isolatesHeavy computation, background processing

Progressive Complexity

You do not need to use any of these features to build a great app with Reacton. They are additive -- adopt them one at a time as your requirements demand.

Level 1: reacton() + computed() + watch()           ← 80% of apps
Level 2: effects, selectors, async reactons          ← derived state, API calls
Level 3: middleware, persistence, history, branching  ← enterprise features

What's Next

Released under the MIT License.