
React Patterns
This is your reference card for React 19's new primitives in Next.js App Router projects. It covers useOptimistic for instant UI feedback, useActionState for form handling with Server Actions, and useTransition for non-blocking updates. The skill includes copy-paste patterns for Server Component/Client Component splits, Zod validation with Server Actions, and custom hooks. What I like is the quick reference table that maps patterns to hooks, plus it reminds you to test Server Actions with both valid and invalid inputs. Most useful when you're working with the newer concurrent features and need to remember which hook solves which problem without digging through docs.
- skills.sh installs
- 4.9K
- GitHub stars
- 369
- last updated
- Aug 21, 2026
Install
$ npx -y skills add giuseppe-trisciuoglio/developer-kit --skill react-patterns --agent claude-codeInstalls into .claude/skills of the current project.
Files
React 19 Development Patterns
Overview
React 19 patterns for Next.js App Router, Server Actions, optimistic UI, and concurrent features. See Quick Reference for API summary and Examples for copy-paste patterns.
When to Use
- Building React 19 applications with Next.js App Router
- Implementing optimistic UI with
useOptimisticoruseTransition - Creating Server Actions with form validation
- Migrating from class components to hooks
- Optimizing concurrent rendering with React Compiler
- Managing complex state with
useReduceror custom hooks - Wrapping async operations in Suspense boundaries
Quick Reference
Sponsors
Details
- Repository
- github.com/giuseppe-trisciuoglio/developer-kit
- Categories
- Frontend Development, Backend & APIs, Security, Debugging
More from giuseppe-trisciuoglio/developer-kit
All 102- Tailwind Design System4.7K
- React Code Review4.5K
- Spring Boot Test Patterns4.4K
- Nestjs4.4K
- Typescript Docs4.4K
- Spring Boot Rest Api Standards4.3K
- Spring Boot Security Jwt4.3K
- Spring Data Jpa4.2K
- Turborepo Monorepo4.2K
- Unit Test Boundary Conditions4.2K
- Spring Boot Openapi Documentation4.2K
- Drawio Logical Diagrams4.1K
- Clean Architecture4.1K
- Prompt Engineering4.1K
- Typescript Security Review4.1K
- Nextjs App Router4K
- Spring Boot Crud Patterns4K
- Chunking Strategy4K
- Spring Boot Event Driven Patterns4K
- Zod Validation Utilities4K
- Nestjs Best Practices4K
- Nestjs Code Review4K
- Spring Boot Cache4K
- Spring Boot Resilience4j3.9K