epic-react-patterns

Guide React patterns and performance optimization within the Epic Stack framework.

Updated May 18, 2026
One-click install
npx skills add https://github.com/mbdeaton/phys-notes --skill epic-react-patterns-mbdeaton
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: epic-react-patterns
Source: https://github.com/mbdeaton/phys-notes/tree/main/docs/skills/epic-react-patterns
Command: npx skills add https://github.com/mbdeaton/phys-notes --skill epic-react-patterns-mbdeaton

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance on writing efficient, maintainable, and performant React code specifically within the Epic Stack framework, addressing common pitfalls and promoting best practices.

Core Features & Use Cases

  • Performance Optimization: Learn techniques to optimize re-renders, bundle size, and server-side rendering.
  • Code Quality: Understand patterns for data fetching, form handling, component composition, and error handling.
  • Use Case: When building a new feature in an Epic Stack application, consult this Skill to ensure your data fetching is done via loaders, your forms are handled with Conform, and your components are structured for optimal performance.

Quick Start

Review the section on data fetching in React Router to understand how to use loaders effectively.

Frequently Asked Questions about epic-react-patterns

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

FAQPage Schema
How do I optimize React performance and prevent unnecessary re-renders in an Epic Stack application?

Optimize React performance in an Epic Stack application by structuring components for minimal re-renders and leveraging server-side rendering. This approach improves bundle size and overall rendering speed.

What is the best way to fetch data in React Router without causing data fetching waterfalls?

The best way to fetch data without causing waterfalls is using React Router loaders. This pattern moves data fetching to the loader, preventing client-side waterfalls and improving server-side rendering performance.

How do I handle forms in React using Conform within the Epic Stack framework?

Handle forms in the Epic Stack framework using Conform to manage form state and validation. This pattern ensures maintainable code quality by standardizing form submission and error handling.

Why should I avoid using useEffect for data fetching in my React application?

Avoid using useEffect for data fetching because it creates client-side waterfalls and delays rendering. Using loaders instead moves data fetching server-side, improving performance and preventing waterfall requests.

Does this Skill cover TypeScript usage and code splitting for React components?

Yes, this Skill covers TypeScript usage and code splitting for React components. It guides you on optimizing bundle size and maintaining code quality through proper TypeScript patterns and component composition.

When should I use error boundaries and loading states in an Epic Stack React app?

Use error boundaries and loading states in an Epic Stack React app to handle errors gracefully and improve user experience. Implementing these patterns ensures robust code quality during data fetching and component rendering.