assessment-model/CLAUDE.md
2026-05-05 14:11:37 +00:00

414 B

Claude guidance for this project

React

  • Avoid useEffect and useMemo. Derive values inline, use Server Components + Route Handlers, event handlers, or useSyncExternalStore instead. If a hook is genuinely the only option, flag it and ask before using it.

Next.js 15 route handlers

  • params is a Promise — type as { params: Promise<{ ... }> } and await params before destructuring.