pymodel/react-frontend-skills

react

Current React 19.2 guidance for concurrent rendering, Server Components, Actions, effects, React Compiler, state, and memoization.

查看源码
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

React 19 Best Practices

Comprehensive performance optimization guide for React 19 applications. Contains 40 rules across 8 categories, prioritized by impact from critical (concurrent rendering, server components) to incremental (component patterns).

Table of Contents

  1. Concurrent Rendering — CRITICAL
  1. Server Components — CRITICAL
  1. Actions & Forms — HIGH
  1. Data Fetching — HIGH
  1. State Management — MEDIUM-HIGH
  1. Memoization & Performance — MEDIUM
  1. Effects & Events — MEDIUM
  1. Component Patterns — LOW-MEDIUM

References

  1. https://react.dev
  2. https://react.dev/blog/2024/12/05/react-19
  3. https://react.dev/blog/2025/10/01/react-19-2
  4. https://react.dev/learn/you-might-not-need-an-effect
  5. https://github.com/facebook/react

Related Skills

  • For Next.js 16 App Router, see nextjs skill
  • For client-side form handling, see react-hook-form skill
  • For data caching with TanStack Query, see tanstack-query skill
来自同一仓库

更多 Skills

全部 Skills
pymodel
社区

vercel-react-best-practices

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

安装量
2
GitHub Stars
7
最近更新
9月10日
pymodel
社区

react-hook-form

Current React Hook Form v7 guidance for useForm, useWatch, useController, useFieldArray, validation, subscriptions, and UI-library integration. React Server Actions and useActionState are covered by the react skill.

安装量
1
GitHub Stars
3
最近更新
9月10日
pymodel
社区

tanstack-query

Current TanStack Query v5 guidance for queries, mutations, caching, prefetching, Suspense, and render optimization. Use with useQuery, useMutation, queryClient, queryOptions, skipToken, mutation scopes, or cache invalidation. API mocking is covered by the msw skill.

安装量
1
GitHub Stars
3
最近更新
9月10日
pymodel
社区

tdd

Test-Driven Development methodology and red-green-refactor workflow (formerly test-tdd). This skill should be used when practicing TDD, writing tests first, designing tests before implementation, or reviewing test-first approaches. Triggers on "write tests first", "test before code", "red green refactor", "test driven development". This skill does NOT cover Vitest framework specifics (use vitest skill) or API mocking with MSW (use msw skill).

安装量
1
GitHub Stars
3
最近更新
9月10日