React Code

Build client-side React apps with Vite — useEffect cleanup and stale-closure bugs, dependency-array gotchas, Context vs. server-state libraries for API data, Vite environment variables, and testing with Vitest. Scoped to Vite+React client-side apps — NOT Next.js (App Router/Server Components/Server Actions need different guidance). Triggers on "useEffect", "React hook", "stale closure", "dependency array", "Vite env variable", "React Vitest testing".

cwijayasundara e6ab962 3 files · 10.5 KB Updated

File contents

cwijayasundara/claude_harness_eng_v5/tree/main/.claude/skills/react-code commit e6ab962787

Frequently asked questions

npx skillmds@latest add cwijayasundara/react-code