Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 542 Bytes

coding-guidelines.md

File metadata and controls

21 lines (14 loc) · 542 Bytes

Style Guide

  • Use the Airbnb JavaScript style guide.
  • Prefer functional components over class components.

Naming Conventions

  • Files: Use kebab-case (e.g., task-list.tsx)
  • Components: Use PascalCase (e.g., TaskList)
  • Variables: Use camelCase (e.g., taskName)
  • Constants: Use UPPER_SNAKE_CASE (e.g., API_URL)

Best Practices

  • Write pure functions where possible.
  • Keep components small and focused on a single responsibility.
  • Use TypeScript for type safety.

Go back to Readme