react-dev

Build type-safe React components and patterns in TypeScript for React 18–19.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Yoriichi-Dang/portfolio --skill react-dev-yoriichi-dang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-dev
Source: https://github.com/Yoriichi-Dang/portfolio/tree/main/.agents/skills/react-dev
Command: npx skills add https://github.com/Yoriichi-Dang/portfolio --skill react-dev-yoriichi-dang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the challenge of building maintainable, type-safe React components and patterns in TypeScript, covering event typing, generics, server/client boundaries, and robust routing integration.

Core Features & Use Cases

  • Type-safe component APIs and hooks for React + TS
  • Generic components with inferred types and render props
  • Typed event handlers, forms, and server actions
  • Server Components and Client/Server integration patterns
  • Type-safe routing with TanStack Router and React Router v7
  • Migration patterns for React 19 changes
  • Practical examples from real-world front-end apps

Quick Start

Create a small React + TypeScript project and implement a typed Button component, a server/client pair, and a sample route with typed params to observe end-to-end type safety.

Frequently Asked Questions about react-dev

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build type-safe React components with TypeScript?

Type-safe React components in TypeScript use generics, inferred types, and typed event handlers to enforce correct props and returns. This skill provides patterns for generic components, render props, and typed forms that catch errors at compile time rather than runtime.

What's the best way to type event handlers and server actions in React 19?

Typed event handlers and server actions in React 19 use explicit TypeScript signatures for client/server boundaries. This skill covers typing form submissions, server actions, and event handlers to ensure end-to-end type safety across the client-server divide.

Does this skill support type-safe routing with TanStack Router and React Router v7?

Yes, this skill provides type-safe routing patterns for both TanStack Router and React Router v7, including typed route params and query parameters. It demonstrates how to integrate routing types directly with your React 18–19 TypeScript components.

How do I create generic React components with inferred TypeScript types?

Generic React components with inferred types use TypeScript generics to automatically derive prop types from passed data. This skill demonstrates generic component patterns and render props that allow flexible, reusable APIs while maintaining strict type inference.

Can I use this skill to migrate existing React TypeScript patterns to React 19?

Yes, this skill includes migration patterns for React 19 changes, covering server components, client/server boundaries, and updated event typing. It helps transition existing React 18 TypeScript applications to the newer server component architecture safely.