返回 Skill 列表
extension
分类: 开发与工程无需 API Key

vite-react-best-practices

全面的React和Vite单页应用性能、架构及部署指南。在构建、审查或重构使用Vite构建的React应用程序(SPA)时运用此技能。涵盖Vite特定的构建配置、静态托管需求以及核心的React性能模式。

person作者: jakexiaohubgithub

Vite React Best Practices

A senior-level guide for building production-ready React Single Page Applications (SPAs) with Vite.

When to Apply

Reference these guidelines when:

  • Setting up a new Vite + React project
  • Configuring build pipelines and CI/CD for SPAs
  • Troubleshooting production build or caching issues
  • Refactoring React components for performance

Rule Categories

1. Vite SPA Deployment (CRITICAL)

2. React Core Performance

3. Architecture & Cleanup

Full Compiled Document

For the complete guide with all rules expanded: AGENTS.md