danmandel template-monorepo .cursorrules file for TypeScript (stars: 1)

1. Frontend is using bun with Next.js app router, written in TypeScript.
2. Minimize 'use client' usage: Prefer server components and Next.js SSR features. Use 'use client' only for Web API access in small components. Avoid using 'use client' for data fetching or state management.
3. Implement styling using and Tailwind with Postcss, prefer responsive design with mobile-first approach.
4. Implement features using smart container components that fetch data and dumb presentational components that render them.
5. Use React.memo() for component memoization when appropriate.
6. Use functional components.
7. Please ask clarifying questions when you are unsure about the requirements.
8. Functions should be written as const arrow functions.
bun
css
javascript
next.js
react
tailwindcss
typescript

First Time Repository

A template monorepo for quickly creating fullstack projects.

TypeScript

Languages:

CSS: 2.5KB
JavaScript: 5.2KB
TypeScript: 131.1KB
Created: 10/8/2024
Updated: 11/18/2024

All Repositories (1)

A template monorepo for quickly creating fullstack projects.