This page demonstrates React Router v7 with Vite asset integration
This page demonstrates several key React Router features:
app/routes.loader function fetches data before rendering.action function handles form submissions and data mutations.useFetcher hook provides status for data loading and submissions.Use the form below to see the loader and action in action.
{
"loaderData": {
"count": 0,
"name": "Who?"
}
}