Skip to content
Back to skills

React Patterns

ASecurity

Modern React: component composition, hooks rules, state placement, server components, suspense and data fetching.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 2, 2026
ai-agentstypescriptreactnextjsfrontend

Security analysis

A100/100

Scanned December 2, 2026

npx -y skills add karthikrshet/saarthi --skill react-patterns --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of React Patterns?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for React Patterns
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/karthikrshet-react-patterns/badge)](https://www.skillsdirectory.com/skills/karthikrshet-react-patterns)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: react-patterns
description: "Modern React: component composition, hooks rules, state placement, server components, suspense and data fetching."
tags: [frontend, typescript]
---

# React Patterns

## When to use

- React or Next.js UI work

## Procedure

1. Keep components small and composable
2. Lift state only as far as needed
3. Derive instead of syncing state
4. Use server components for data fetching where available
5. Handle loading, empty and error states
6. Memoise only after measuring

## Checklist

- [ ] No useEffect for derived state
- [ ] Keys stable

## Anti-patterns

- Prop drilling through many layers instead of composition;useEffect chains

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.