rasengan-data-fetching
Installation
SKILL.md
Rasengan.js Data Fetching Patterns
When to Activate
- Writing loader functions for data fetching per route
- Handling SSR data fetching and client-side navigation loading
- Generating static paths for prerendered dynamic routes (SSG)
- Managing loading states and redirects from loaders
- Passing fetched data as props to page components
Loader Functions
Loaders fetch data per route — both on server (SSR) and client (navigation):
import { type LoaderFunction } from 'rasengan';