Loading...
Loading...
React development principles from official documentation. Teaches component purity, state management, effects, refs, reducers, context, and event handling patterns. Use when writing React components with hooks, managing state, synchronizing with external systems, debugging re-renders, or choosing between state management approaches.
npx skill4agent add pproenca/dot-skills react-principle-engineer| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Component Purity | HIGH | |
| 2 | State Structure | HIGH | |
| 3 | State Sharing | HIGH | |
| 4 | Effect Patterns | HIGH | |
| 5 | Refs Usage | MEDIUM | |
| 6 | Reducer Patterns | MEDIUM | |
| 7 | Context Patterns | MEDIUM | |
| 8 | Event Handling | MEDIUM | |
pure-no-external-mutationspure-same-inputs-same-outputspure-local-mutation-allowedpure-strict-mode-detectionpure-side-effects-in-handlerspure-props-as-readonlypure-render-independencepure-use-effect-last-resortpure-why-purity-mattersstate-group-relatedstate-avoid-contradictionsstate-avoid-redundantstate-avoid-duplicationstate-flatten-nestedstate-no-mirror-propsstate-immutable-updatesstate-snapshot-behaviorstate-updater-functionsstate-keys-resetshare-lift-state-upshare-single-source-truthshare-controlled-uncontrolledshare-props-down-events-upshare-composition-over-drillingshare-preserve-reset-identityeffect-synchronizationeffect-cleanupeffect-dependencieseffect-separate-concernseffect-think-sync-not-lifecycleeffect-not-for-derived-stateeffect-not-for-eventseffect-data-fetchingeffect-never-suppress-lintereffect-remove-unnecessaryref-escape-hatchref-no-render-accessref-dom-manipulationref-mutable-valuesref-best-practicesreducer-when-to-usereducer-actionsreducer-pure-functionsreducer-structurereducer-extract-from-componentcontext-when-to-usecontext-create-use-providecontext-with-reducercontext-default-valuesevent-pass-handlersevent-side-effectsevent-propagationevent-naming