Hacker GitHub

← All repos

Facepunch/react-class-model

View on GitHub ↗ ★ 10 TypeScript

State management for React with hooks, inspired by Flutter's scoped_model

4 mentions on Hacker News by 2 people: 0 stories, 4 comments · first 2024-06-28 · latest 2025-04-08

Mentions per year 4 mentions · busiest year 2024 (3)
20082026
  1. …state management that works like that five years ago because I didn't like the options at the time. https://github.com/Facepunch/react-class-model (note: context is not required)
    comment by Rohansi · 2025-04-08 · in In React {Transitions} = F(state)
  2. …working great for me in production. Too bad there's no popular option that works similarly. [1] https://github.com/facepunch/react-class-model
    comment by Rohansi · 2024-12-05 · in React 19
  3. This react-class-model? https://github.com/Facepunch/react-class-model 7 stars on github? Class objects with decorators? No thanks.
    comment by cageface · 2024-07-02 · in Understanding React Compiler
  4. …modifying your state. No reducers, atoms, stores, etc... Just a JS class for your state and logic. https://github.com/facepunch/react-class-model
    comment by Rohansi · 2024-06-28 · in Understanding React Compiler