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 RenderingCRITICAL
  1. Server ComponentsCRITICAL
  1. Actions & FormsHIGH
  1. Data FetchingHIGH
  1. State ManagementMEDIUM-HIGH
  1. Memoization & PerformanceMEDIUM
  1. Effects & EventsMEDIUM
  1. Component PatternsLOW-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
社区

feature-arch

React feature-based architecture guidelines for scalable applications (formerly feature-architecture). This skill should be used when writing, reviewing, or refactoring React code to ensure proper feature organization. Triggers on tasks involving project structure, feature organization, module boundaries, cross-feature imports, data fetching patterns, or component composition.

安装量
2
GitHub Stars
3
最近更新
8月21日
pymodel
社区

msw

Current MSW v2 guidance for request handlers, Node/browser setup, HTTP and GraphQL mocking, test isolation, timing, and debugging. General test framework patterns are covered by vitest and methodology by tdd.

安装量
2
GitHub Stars
3
最近更新
8月21日
pymodel
社区

nextjs

Current Next.js 16 App Router guidance for caching, Cache Components, Server Components, routing, Server Actions, and next.config.js. Use for Next.js 16.x code. Generic React 19 patterns are covered by the react skill.

安装量
2
GitHub Stars
3
最近更新
8月21日
pymodel
社区

nuqs

nuqs (type-safe URL query state) best practices for Next.js applications. This skill should be used when writing, reviewing, or refactoring code that uses nuqs for URL state management. Triggers on tasks involving useQueryState, useQueryStates, search params, URL state, query parameters, nuqs parsers, or Next.js routing with state.

安装量
2
GitHub Stars
3
最近更新
8月21日