presets.dev
BrowseMembersSign In
presets.devAboutPrivacyTerms

Open source on GitHub

Filters

Tool

Claude
Cursor
Cline
Codex
Copilot
Windsurf
Antigravity CLI

Technology

React1

React Rules for Cursor

1 rule for React

React Rules for Cursor: Components, State and Effects

Cursor rules for React: Components, State and Effects. Structure, data, errors, security, performance, and tests. React 19.3.1, Nov 2026.

# React Rules for Cursor: Components, State and Effects ## Install Install the native export at `.cursor/rules/react-rules.mdc`. Copy that export, not this catalog file. Catalog fields such as `tools` and `author` are for presets.dev. Install one skill file per name. Cursor, GitHub Copilot, Codex, Antigravity CLI, and Devin can all read `.agents/skills`, so a second copy with the same name collides. <!-- native:start --> # React Rules for Cursor: Components, State and Effects File-scoped Cursor rule for React. It attaches when a matching file is in context. ## Updated for React 19.3.1, Nov 2026 Do not upgrade dependencies or the framework version unless the task asks. ## Project shape Build the tree from function components. One component owns one job. Put shared UI in the folder t...