Axon Shaft docs
Templates

React web app

For React web apps: the front-end checks without the native ones.

  • Kind: Code review
  • Category: By project type
  • Added to new projects: No

Checklists, in order

  1. Correctness: Logic errors, missing awaits, off-by-one, empty and null cases, races.
  2. What else it can break: Callers, exports and configs elsewhere in the repo that the change didn't update.
  3. Security: Secrets, injection, unchecked input, weaker auth, unsafe workflow changes.
  4. React patterns: Hook rules, effect dependencies, list keys, state in the wrong place and needless re-renders.
  5. Accessibility: Labels, roles and alt text, keyboard and focus, touch target size and accessibility labels in React Native.
  6. Translations: Hard-coded text people see in a repo that has translations, keys missing from a locale and dates or numbers formatted by hand.
  7. Theme and design tokens: Raw colours, spacing and font sizes where the repo has tokens, dark mode left out and breaks from the repo's theming guide.
  8. Performance: N+1 queries, awaits in loops, unbounded queries or lists and slow work in hot paths and renders.
  9. Tests: Changed behaviour without a test, or a test that can never fail.
  10. Dependencies: Added, removed and upgraded packages, major bumps, packages in the wrong dependency list and packages nothing imports.
  11. Known vulnerabilities: Added or changed package versions with a published security advisory.
  12. Secrets: Keys, tokens and private keys in added lines.

Last updated on