react-router-data-mode
✓使用 React Router 的數據模式以及 createBrowserRouter 和 RouterProvider 構建 React 應用程序。在不使用 Vite 插件的情況下使用路由對象、加載器、操作、表單、useFetcher 或掛起/樂觀 UI 時使用。
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