Skip to main content
← Back to changelog
v2.0.3.1

State Management Refactor

What’s New

  • Enforced useReducer pattern for components with multiple state variables
  • Added “Anti-useState Hell” rule to project execution contract

Improvements

  • Refactored 10+ components (Auth, Admin, Apps, Settings) from useState to useReducer
  • Modularized monolithic components into focused sub-components with custom hooks
  • Renamed 30+ files from PascalCase to lower-kebab-case per conventions
  • Created dedicated form/ sub-directories for each module
  • Updated 50+ import statements to maintain integrity after restructuring

Fixes

  • Fixed stray --- text appearing across pages from SEO component frontmatter
  • Fixed stale PascalCase import paths causing production build failures
  • Fixed signup error reducer payloads narrowed to actual error fields