react-typescript
Installation
SKILL.md
React with TypeScript
Build production-ready React applications using TypeScript with modern patterns and best practices.
Instructions
- Always use TypeScript - Define proper types for props, state, and API responses
- Prefer functional components - Use hooks over class components
- Follow component composition - Build small, reusable, single-responsibility components
- Implement proper error boundaries - Wrap critical UI sections
- Use React 18+ features - Concurrent features, Suspense, transitions when appropriate
Component Patterns
Basic Component Structure
import { useState, useCallback } from 'react';