Data mode uses createBrowserRouter and RouterProvider to enable data loading, actions, and pending UI without the framework's Vite plugin. This is ideal for existing React applications that want to add data loading and mutation capabilities.
Load the relevant reference for detailed guidance on the specific API/concept:
| references/routing.md | Configuring routes, nested routes, layout | | references/route-object.md | Understanding route object properties | | references/data-loading.md | Loading data with loaders | | references/actions.md | Handling forms, mutations, validation | | references/navigation.md | Links, programmatic navigation, redirects |
Создавайте приложения React, используя режим данных React Router с помощью createBrowserRouter и RouterProvider. Используйте при работе с объектами маршрута, загрузчиками, действиями, формой, useFetcher или ожидающим/оптимистическим пользовательским интерфейсом без плагина Vite. Источник: remix-run/agent-skills.