react-router-data-mode
OfficialMaster React Router's data layer.
Authorterna-cc
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you leverage React Router's powerful data loading and mutation capabilities, enabling efficient data fetching and form handling without relying on external libraries or the Vite plugin.
Core Features & Use Cases
- Declarative Data Fetching: Use
loaderfunctions to fetch data automatically before route rendering. - Form Mutations: Handle data updates and deletions seamlessly with
actionfunctions and the<Form>component oruseFetcher. - Optimistic UI: Provide a smooth user experience by showing expected UI changes immediately while mutations are in progress.
- Use Case: Build a complex dashboard where each section loads its data independently using route loaders, and users can update their profile information via forms that trigger route actions, all while maintaining a responsive UI with optimistic updates.
Quick Start
Implement a basic router setup using createBrowserRouter and RouterProvider.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: react-router-data-mode Download link: https://github.com/terna-cc/support-sdk/archive/main.zip#react-router-data-mode Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.