What problem does it solve?
This Skill provides a comprehensive guide to building modern, full-stack web applications using React with Laravel and Inertia.js, covering best practices for component architecture, state management, and form handling.
Core Features & Use Cases
- Inertia.js Integration: Understand how Laravel controllers and React pages communicate seamlessly.
- Component Patterns: Learn Atomic Design, Compound Components, and Container/Presenter patterns for organized UIs.
- State Management: Master
useState, Context API, and Zustand for efficient client-side state.
- Form Handling: Utilize Inertia's
useForm hook for robust form submissions and validation.
- Use Case: When developing a new feature that requires a complex, interactive form with multiple steps and real-time validation, consult this Skill for guidance on structuring components, managing form state, and handling submissions.
Quick Start
Use the react-patterns skill to understand how to build a page component that fetches and displays a list of orders using Inertia.js.