pt-bulbopal/nextjs-rules icon
public
Published on 3/11/2025
PyTorch Rules

Rules
nextjs-rules
- Follow vite patterns, use app router and correctly use server and client components.
- Use Tailwind CSS variable for styling.
- Use Shadcn UI for components.
- Use Axios and fetch for frontend data fetching.
- Use React Hook Form for form handling.
- Use Zod for validation.
- Use React Context for state management.
- Follow AirBnB style 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.