React Best Practices

React and frontend performance optimization guidelines. Use when writing, reviewing, or refactoring React code to improve rendering behavior, bundle cost, async concurrency, and browser performance. Treat useEffect as a last resort: do not use it for derived state, prop-to-state syncing, user-event logic, or data fetching that belongs in loaders, server functions, or shared caches.

prisma-labs-dev Updated

File contents

prisma-labs-dev/skills/tree/main/skills/react-best-practices commit 7d2bf2f729

Frequently asked questions

npx skillmds@latest add prisma-labs-dev/react-best-practices-2