Files
blitzkit/CLAUDE.md
T

477 B

BlitzKit

Layout

  • Hooks live in src/hooks/useName.ts (.tsx if they render JSX), one hook per file named after it, never inside a component's folder.

TypeScript

  • When an if/else if chain checks one value against several candidates (x === "a", x === b, ...), use a switch on that value instead. Inside a loop, end each case with continue, and put the checks a switch can't express (startsWith, ranges, ...) as an if after it, not in default.