·react-router-data-mode
{}

react-router-data-mode

remix-run/agent-skills

使用 React Router 的数据模式以及 createBrowserRouter 和 RouterProvider 构建 React 应用程序。在不使用 Vite 插件的情况下使用路由对象、加载器、操作、表单、useFetcher 或挂起/乐观 UI 时使用。

94安装·6热度·@remix-run

安装

$npx skills add https://github.com/remix-run/agent-skills --skill react-router-data-mode

SKILL.md

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 Router 的数据模式以及 createBrowserRouter 和 RouterProvider 构建 React 应用程序。在不使用 Vite 插件的情况下使用路由对象、加载器、操作、表单、useFetcher 或挂起/乐观 UI 时使用。 来源:remix-run/agent-skills。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/remix-run/agent-skills --skill react-router-data-mode
分类
{}数据分析
认证
收录时间
2026-02-03
更新时间
2026-02-18

快速解答

什么是 react-router-data-mode?

使用 React Router 的数据模式以及 createBrowserRouter 和 RouterProvider 构建 React 应用程序。在不使用 Vite 插件的情况下使用路由对象、加载器、操作、表单、useFetcher 或挂起/乐观 UI 时使用。 来源:remix-run/agent-skills。

如何安装 react-router-data-mode?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/remix-run/agent-skills --skill react-router-data-mode 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/remix-run/agent-skills

详情

分类
{}数据分析
来源
skills.sh
收录时间
2026-02-03