React Best Practices

mastra-ai/mastra/.claude/skills/react-best-practices

by mastra-aia7a34bfcc223No license28K starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated today

React performance optimization guidelines from Mastra Engineering. This skill should be used when writing, reviewing, or refactoring React code to ensure optimal performance patterns. Triggers on tasks involving React components, data fetching, bundle optimization, or performance improvements.

Instructions onlySoftware Development

Only the file list is public. File contents are available once the skill is installed in a workspace.

PathSizeType
references/react-best-practices-reference.md17.4 KBtext/markdown
references/rules/async-parallel.md650 Btext/markdown
references/rules/bundle-barrel-imports.md1.5 KBtext/markdown
references/rules/bundle-defer-third-party.md978 Btext/markdown
references/rules/client-request-dedupe.md3.6 KBtext/markdown
references/rules/js-length-check-first.md1.7 KBtext/markdown
references/rules/js-set-map-lookups.md532 Btext/markdown
references/rules/js-tosorted-immutable.md1.7 KBtext/markdown
references/rules/rendering-animate-svg-wrapper.md1.1 KBtext/markdown
references/rules/rendering-content-visibility.md823 Btext/markdown
references/rules/rerender-lazy-state-init.md2 KBtext/markdown
references/rules/rerender-no-setstate-in-render-or-effect.md3 KBtext/markdown
references/rules/rerender-no-useeffect-state-reset.md3 KBtext/markdown
references/rules/rerender-no-usememo-usecallback.md2.5 KBtext/markdown
references/rules/rerender-transitions.md1 KBtext/markdown
references/rules/rerender-useeffect-function-calls.md1.8 KBtext/markdown
references/rules/structure-complex-derived-logic.md10 KBtext/markdown
references/rules/structure-component-naming.md1.6 KBtext/markdown
references/rules/structure-composition-over-config.md3.1 KBtext/markdown
references/rules/structure-data-fetching-layout.md4.6 KBtext/markdown
references/rules/structure-derive-dont-duplicate.md1.5 KBtext/markdown
references/rules/structure-early-return-render-branches.md3.3 KBtext/markdown
references/rules/structure-narrow-apis.md4.1 KBtext/markdown
references/rules/structure-single-responsibility.md4.1 KBtext/markdown
references/rules/testing-bdd-no-mocks.md6.8 KBtext/markdown
references/rules/testing-no-classname-assertions.md3.6 KBtext/markdown
references/rules/types-no-null.md2.8 KBtext/markdown
references/rules/types-no-type-assertions.md4.8 KBtext/markdown
SKILL.md7.3 KBtext/markdown

Source and attribution

Source:mastra-ai/mastrain.claude/skills/react-best-practicesat commita7a34bf

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal