react-best-practices
Improve React Correctness and Rendering Performance
React components can lose state, mishandle effects, or respond slowly when rendering costs are misunderstood. This skill guides version-aware reviews and targeted fixes with behavioral checks and comparable performance measurements.
Installer avec mon Agent
Copiez cette demande dans votre Agent. Elle contient la page Skill de référence et le manifeste.
Review the Skillstore skill "react-best-practices" from https://skillstore.io/skills/shreyam1008-react-best-practices.md and its manifest at https://skillstore.io/api/skills/shreyam1008-react-best-practices/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.Votre Agent doit toujours présenter son plan et demander toute confirmation exigée par la politique de sécurité.
Ressources lisibles par les agents
Utilisez ces liens lorsquâun Agent IA, un crawler ou un script a besoin dâun contexte propre au lieu de lire toute la page.
Tester
Utilisation de « react-best-practices ». Review a component that copies a prop-derived total into state through an effect.
Résultat attendu:
- The total duplicates information already available during render.
- Calculate the total during render unless a separate user-editable value is required.
- Verify that prop changes update the total without an additional synchronization effect.
Utilisation de « react-best-practices ». Typing remains slow after moving a large filtering calculation into a transition callback.
Résultat attendu:
- The transition callback runs immediately, so the filtering calculation still blocks input.
- Keep controlled input updates urgent and evaluate a worker, chunked computation, or precomputation.
- Compare the same interaction before and after, checking latency, pending feedback, and result correctness.
Utilisation de « react-best-practices ». Review a proposal to remove memoization after upgrading to React 19.
Résultat attendu:
- Installing React 19 does not configure React Compiler.
- Confirm compiler setup and coverage before removing memoization.
- Use comparable profiler measurements to determine whether the affected work still benefits from memoization.
Audit de sécurité
SûrAll 12 static findings are false positives in React guidance: Markdown backticks, reference links, and ordinary rendering or data-loading prose. No evidence found of prompt injection, credential access, data exfiltration, or dangerous command instructions in the two reviewed files.
Facteurs de risque
âïž Commandes externes (5)
đ AccĂšs rĂ©seau (3)
Partager et citer ce rapport
Partagez le rapport dâĂ©valuation versionnĂ©, le badge neutre, la carte intĂ©grable et les citations. Skillstore prĂ©sente les preuves sans dĂ©cider si ce Skill est sĂ»r.
Copier le lien du rapport
https://skillstore.io/skills/shreyam1008-react-best-practices/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportBadge Markdown
[](https://skillstore.io/skills/shreyam1008-react-best-practices?utm_source=security_passport_badge)Badge HTML
<a href="https://skillstore.io/skills/shreyam1008-react-best-practices?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/shreyam1008-react-best-practices/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Carte intégrable
<iframe src="https://skillstore.io/embed/skills/shreyam1008-react-best-practices.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Citations académiques (APA · BibTeX · CFF)
Citation APA
shreyam1008. (2026). react-best-practices security audit report (audit version 1) [Author version unspecified]. Skillstore. https://skillstore.io/skills/shreyam1008-react-best-practices/audits/1Citation BibTeX
@techreport{shreyam1008-shreyam1008-react-best-practices-2026,
author = {shreyam1008},
title = {react-best-practices security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/shreyam1008-react-best-practices/audits/1},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "react-best-practices security audit report (audit version 1)"
version: "unspecified"
type: report
authors:
- name: "shreyam1008"
date-released: "2026-10-02"
url: "https://skillstore.io/skills/shreyam1008-react-best-practices/audits/1"
identifiers:
- type: other
value: "skillstore:shreyam1008-react-best-practices:audit:1"
description: "Skillstore immutable audit report identifier"
Comparer les variantes
4 variantes installablesChaque auteur reste un skill installable distinct. La variante recommandée est classée selon les preuves Skillstore.
Pourquoi cette variante est premiĂšre
sickn33-react-best-practices
2026-09-09
0xbigboss-react-best-practices
2026-10-11
vercel-labs-react-best-practices
2026-09-09
shreyam1008-react-best-practices
2026-10-04
Score Skillstore
Pourquoi ce score Niveau de confiance des preuves: MoyenCe que vous pouvez créer
Review component correctness
Check state ownership, component identity, effect cleanup, and loading behavior before merging component changes.
Investigate slow interactions
Interpret profiler and browser traces to select focused rendering, computation, or list optimizations.
Assess React feature compatibility
Review proposed React 19, compiler, and transition changes against installed versions and existing compatibility requirements.
Essayez ces prompts
Review this React component for state ownership, stable keys, and unnecessary effects. Explain each issue and suggest the smallest correction.
Inspect this data-loading effect for races, cancellation, cleanup, and error handling. Preserve the existing data layer and recommend relevant tests.
Use these React Profiler results and browser traces to diagnose slow input. Separate rendering from computation and layout, then propose a measured fix.
Review this optimization against installed React, framework, and compiler configuration. Assess memoization, transitions, accessibility, and memory; define comparable before-and-after verification.
Bonnes pratiques
- Inspect installed React, framework, data-layer, and compiler configuration before selecting APIs.
- Base performance changes on representative measurements and compare the same interaction before and after.
- Verify affected behavior, accessibility, loading states, and applicable lint, typecheck, build, and tests.
Ăviter
- Suppress effect dependency warnings instead of correcting unnecessary dependencies or synchronization.
- Memoize every component or object without evidence that identity causes expensive downstream work.
- Treat React transitions as a way to make a long synchronous calculation nonblocking.
Foire aux questions
Which AI tools are supported?
Does every component review require profiling?
Does this skill require React 19?
Does React 19 enable React Compiler automatically?
Can transitions prevent expensive filtering from blocking input?
Does this cover TanStack APIs or React Three Fiber scenes?
Détails du développeur
Auteur
shreyam1008Licence
MIT
Révision Skillstore
r1
Avis de version
Lâauteur nâa dĂ©clarĂ© aucune version.
Réf
bbec03cf10354f3aaccd6dd24eda4ac9ceeceac5
Récence de maintenance
02/10/2026
Utilisation
0 téléchargements · 0 vues
Structure de fichiers