Back to browse
Tired of logic in useEffect, I built a class-based React state manager

Tired of logic in useEffect, I built a class-based React state manager

by thalesfp·Apr 8, 2026·27 points·54 comments

AI Analysis

MidNiche GemShip It

Class-based stores for React when you're tired of useEffect spaghetti.

Strengths
  • Enforces clear boundary between UI rendering and business logic.
  • Plain TypeScript classes make testing easier without React rendering.
Weaknesses
  • React state management is a saturated category with established leaders like Zustand.
  • Class-based approach feels dated to modern React developers.
Target Audience

React developers tired of useEffect complexity

Similar To

Zustand · MobX · Valtio

Similar Projects