component-optimization
Installation
SKILL.md
Component Optimization
Master React performance optimization techniques. Learn how to identify and fix performance bottlenecks, prevent unnecessary re-renders, and create fast, responsive UIs.
Quick Reference
Prevent Re-renders with React.memo
const MemoizedComponent = React.memo(function Component({ data }) {
return <div>{data}</div>;
});
Memoize Expensive Calculations
Related skills
More from code-visionary/react-router-skills
typescript-patterns
TypeScript patterns for React Router v7 - Type-safe loaders, actions, params, generic components, and utility types
22testing-helper
Testing patterns for React and React Router v7 - Vitest, React Testing Library, route testing, mocking loaders/actions
12loader-action-optimizer
Best practices for React Router v7 loaders and actions - parallel fetching, deferred data, optimistic UI, and error handling patterns
12route-scaffolder
Scaffold complete CRUD routes for React Router v7 - Generate list, create, details, and edit routes following best practices
10