vercel-react-best-practices
/vercel-react-best-practices
Ocenia i poprawia wydajność kodu React i Next.js, w tym komponenty, Server Components, pobieranie danych i rozmiar paczek.
- Autor
- quantumnous ↗
- Repozytorium
- new-api ↗
- Licencja
- AGPL-3.0
- Ostatnia zmiana repozytorium
- 28.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 2
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 1
Brak sygnałów. Repozytorium zmienione 28.10.2026, bez odwołań do wycofanych modeli i API.
AGPL-3.0, copyleft: przeróbki udostępniane innym muszą mieć tę samą licencję.
Co robi i kiedy
Ocenia i poprawia wydajność kodu React i Next.js, w tym komponenty, Server Components, pobieranie danych i rozmiar paczek.
Oryginalny opis (EN)
React and Next.js performance optimization guidelines from Vercel Engineering. Use when writing, reviewing, or refactoring React/Next.js code involving components, Next.js pages, Server Components, Server Actions, data fetching, bundle size, rendering behavior, or performance improvements.
Jak działa
- Workflow
- Priority Order
- Reference
Podgląd SKILL.md
--- name: vercel-react-best-practices description: React and Next.js performance optimization guidelines from Vercel Engineering. Use when writing, reviewing, or refactoring React/Next.js code involving components, Next.js pages, Server Components, Server Actions, data fetching, bundle size, rendering behavior, or performance improvements. --- # Vercel React Best Practices Use this skill for React and Next.js performance work. The full Vercel guide is stored in `references/full-guide.md`; do not read the whole file by default. ## Workflow 1. Identify the relevant performance area from the task or code under review. 2. Search `references/full-guide.md` for the matching section or rule heading. 3. Read only the relevant section before changing or reviewing code. 4. Prioritize higher-impact categories before lower-impact micro-optimizations. ## Priority Order 1. Eliminating waterfalls: sequential async work, API route chains, missing `Promise.all`, Suspense boundaries. 2. Bundle size optimization: barrel imports, heavy client modules, dynamic imports, deferred third-party libraries. 3. Server-side performance: Server Actions auth, RSC serialization, per-request deduplication, cross-request caching, `after()`. 4. Client-side data fetching: SWR deduplication, global listeners, passive scroll listeners, localStorage schema. 5. Re-render optimization: derived state, effect dependencies, memo boundaries, functional state updates, transitions, refs. 6. Rendering performance: hydration mismatches, long lists, static JSX, SVG precision, resource hints, script loading. 7. JavaScript performance: repeated lookups, array passes, storage reads, layout thrashing, sort/min-max choices. 8. Advanced patterns: one-time initialization, stable callback refs, effect events. ## Reference - Full compiled guide: `references/full-guide.md` - Original project: https://github.com/vercel-labs/agent-skills/tree/main/skills/react-best-practices
Pliki w paczce (2)
- SKILL.md 2 KB
- references/full-guide.md 80 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · quantumnous/new-api | 90 | AGPL-3.0 |
| argos-ci/argos | 100 | MIT |
| ruchernchong/blog | 100 | MIT |
| polarsource/polar | 100 | Apache-2.0 |
| langfuse/langfuse | 100 | MIT |
| calcom/cal.com | 100 | MIT |
| calesthio/OpenMontage | 100 | AGPL-3.0 |
| mediago-dev/mediago | 100 | MIT |
| The-Utopia-Studio/skills | 100 | Apache-2.0 |
Migawka bazy z 28.10.2026 · wersja paczki 8808bc8aca8c (skrót SHA-256 całej paczki)
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100react-best-practices
Stosuje wytyczne Vercel Engineering dla React i Next.js: ponad 40 reguł obejmujących komponenty, pobieranie danych, optymalizację bundli i renderowanie. - 100react-best-practices
Przegląda i refaktoryzuje komponenty, dane i rozmiar bundle w React i Next.js, zgodnie z regułami Vercel Engineering. - 100react-best-practices
Przegląda kod React i Next.js pod kątem 70 reguł Vercel Engineering z ośmiu kategorii, od pobierania danych po rozmiar paczek. - 100react-best-practices
Podpowiada, jak optymalizować wydajność React i Next.js przy pisaniu, przeglądzie i refaktoryzacji kodu z pobieraniem danych i paczkami. - 100react-best-practices
Stosuje wytyczne Vercel Engineering dotyczące wydajności React i Next.js przy pisaniu, przeglądzie i refaktoryzacji komponentów, stron, pobierania danych i bundli. - 100react-best-practices
Stosuje wytyczne Vercel Engineering dotyczące wydajności React i Next.js przy pisaniu, przeglądzie i refaktoryzacji komponentów, stron, pobierania danych i bundli.