AcademyRulesDevelopment

React + Redux + TypeScript rules for Cursor

Front-end teams using Cursor on React apps with Redux who want a consistent, typed approach to global state.

  • Recommendedour rating
  • 40,892repository stars
  • CC0-1.0licence
  • 4 months agolast update
mkdir -p .cursor/rules && curl -fsSL https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/react-redux-typescript-cursorrules-prompt-file.mdc -o .cursor/rules/react-redux-typescript.mdc
react-redux-typescript.mdc

Loading the file...

What it does

A Cursor rules file for React apps that use Redux Toolkit with TypeScript. It asks for functional components, slices, createAsyncThunk for async actions, selectors and typed hooks. It also proposes a folder structure and recommends strict TypeScript checks and Redux DevTools.

Use cases

  1. 01Create a new slice with typed actions
  2. 02Handle an API call with createAsyncThunk
  3. 03Add typed selectors and reusable hooks

Questions about
React + Redux + TypeScript rules for Cursor.

What is React + Redux + TypeScript rules for Cursor used for?

Front-end teams using Cursor on React apps with Redux who want a consistent, typed approach to global state. A Cursor rules file for React apps that use Redux Toolkit with TypeScript. It asks for functional components, slices, createAsyncThunk for async actions, selectors and typed hooks. It also proposes a folder structure and recommends strict TypeScript checks and Redux DevTools.

How do I install React + Redux + TypeScript rules for Cursor?

Run this in your terminal: mkdir -p .cursor/rules && curl -fsSL https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/react-redux-typescript-cursorrules-prompt-file.mdc -o .cursor/rules/react-redux-typescript.mdc

Is React + Redux + TypeScript rules for Cursor open source?

Yes. The code is on GitHub (PatrickJS/awesome-cursorrules) under the CC0-1.0 licence.

Is React + Redux + TypeScript rules for Cursor safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.