Show HN: Tired of logic in useEffect, I built a class-based React state manager
Category: library
Tags: react, state-management, typescript
Score: 5.8/10 (Innovation: 4, Technical: 6, Documentation: 8, Utility: 5)
Snapstate is a class-based React state manager designed to extract business logic from components and useEffect hooks into testable, extensible stores. It's interesting because it offers a structured alternative to scattered React state with built-in async operation tracking, form handling, URL sync, and fine-grained reactivity using dot-path subscriptions.
Target audience: frontend devs
Repository: https://thales.me/posts/why-i-built-snapstate/ · TypeScript · MIT
View on Hacker News