React

Modern React 18/19 patterns and practices.

LuisSambrano Updated 8 repo stars

File contents

React Master Protocol

Architecture

  • Use Server Components by default in Next.js.
  • Isolate client state inside use client boundary components at the deepest possible tree level.

State Management

  • Prefer Zustand for global state. Avoid Redux.
  • Keep component state flat.

Patterns

  • Separate logic from UI via custom hooks (use...).
  • Strictly adhere to exhaustive deps in useEffect.

LuisSambrano/antigravity-config commit 9899b2512f

Frequently asked questions

npx get-skill add luissambrano/react