React Best Practices

Improve React component structure, data handling and performance.

Available in app
A smooth cyan ribbon passes through a tuned modular component arch.

Overview

Review and improve a React project's component structure, state management, data flow and performance. It suits new interfaces, growing components and investigations into rendering or loading problems. Guidance covers state placement, effects, stable list keys, asynchronous races, code splitting and forms.

Provide the relevant code and the problem you want to address. The skill reviews it in context and explains recommendations, conditions and tradeoffs. Performance changes rely on measurements and real build results, while tests focus on behavior users can observe. Deliverables can include an improvement list, suggested code changes and follow-up checks that a team can reuse during later development.

Where it helps

  • Review a PR against the checklist: state placement, keys, memo evidence
  • Set the measurement path for a render-performance issue before optimizing
  • Rework effects: which belong in event handlers or plain derivation
  • Fix scrambled list reorders starting from key stability
#react#frontend#rules#examples

Examples

Examples describe the request and the shape of the expected deliverable; they are not completed run results.

Example prompt

Every keystroke re-renders the whole table: measure first to locate state placement and redundant computation, then give evidence-backed optimization steps — don't just memo everything.

Expected output

Measurement-first refactor steps, each with before/after numbers.

Example prompt

Review this diff's async handling — races, cancellation, loading and error states — with per-rule conclusions and code locations.

Expected output

A findings list organized by rule, with location and suggested fix.

Requirements and limits

Install platforms
iOS: iOS · Android: Android
Script runtime
No script runtime (guidance and workflow)
Minimum app version
iOS: 1.7.59
Reviewed permission scope

iOS · Android

Capabilities
Read workspace files
Review decision
Approved
Review stage
Static content review
Reviewed on
2026-10-28
Implementation and runtime details
Adaptation stage
frozen

iOS

Capabilities
Read workspace files

Android

Capabilities
Read workspace files

License and source

Source and trace details

License

MPL-2.0

Floe original guide. Replaces the original candidate with independently authored content; upstream text is not distributed. Candidate identity and provenance remain in the package.

Source

Floe

Image and material attribution

Image attribution
Floe original, AI-assisted illustration.
Publisher
JiangNanGenius
Publication commit (retrieval)
25e07dbeeb6cc93c2fe83ddc72a34302cc40832a
Audited source commit
84c524b6fb483e4cad94db076e7d9c9962966c19
Signed catalog digest
iOS 46196ba57ed7ea7f22085e74b113207f31193e820ab8983cf7a60eee953f2340 · Android 16de89d019e2057804a40f215485ccb09d5495a25864b34d681168eeaf8f9697
Publication snapshot (UTC)
2026-10-31

Publication commit 25e07dbeeb, audited source 84c524b6fb; catalog digest iOS 46196ba57ed7… · Android 16de89d019e2….

Versions and status

Version records ship with the signed catalog; the target and released versions are shown below.

Adaptation
Ready
Publication state
Curated skills are available
Released version
1.0.1