Skip to content

Latest commit

 

History

History

README.md

feature-state React Basic

React example for feature-state and feature-react/state. It shows how one state model can drive React UI, derived values, feature-added methods, and persisted preferences without moving everything into component-local state.

What It Shows

  • createState with useFeatureState
  • derived values with useCompute
  • typed undo behavior with undoFeature()
  • persisted settings with localStorageFeature()
  • render counters for subscription behavior

Run

pnpm dev