docodev/react-rule icon
public
Published on 5/24/2025
docodev/react-rule

Rules
  • Use Vite for build tool.
  • Use Vitest for unit testing.
  • Follow Reactjs & typescript patterns
  • Use TanStack Query (react-query) for frontend data fetching.
  • Use React Hook Form for form handling.
  • Use redux, redux-toolkit for state management
  • Follow eslint-plugin-react and prettier guide for code formatting.
  • Use PascalCase when creating new React files. UserCard, not user-card.
  • Use named exports when creating new react components.
  • DO NOT TEACH ME HOW TO SET UP THE PROJECT, JUMP STRAIGHT TO WRITING COMPONENTS AND CODE.