Skip to content
Kitbay
Submit
Skill

react-router

MITUpdated on Nov 10, 202656,636GitHub stars

A skill in the React Router repository for working on applications built with React Router: routes, loaders and actions, forms and fetchers, navigation and pending states, server rendering, single-page and pre-rendered builds, middleware, URL parameters and upgrades.

What the skill teaches

A skill in the React Router repository for working on applications built with React Router: routes, loaders and actions, forms and fetchers, navigation and pending states, server rendering, single-page and pre-rendered builds, middleware, URL parameters and upgrades. The agent first works out which of the router's modes the app uses, framework, data, declarative or the unstable server components mode, from files and imports it finds, and loads the matching reference file. It then reads the documentation shipped in the installed react-router package so advice fits that version, applying a page only when its mode marker matches, and reads migration and future flag docs when changing modes or upgrading.

Capabilities

  • Detect which React Router mode an app uses
  • Load mode-specific guidance for routes and data
  • Read the docs shipped with the installed version
  • Plan mode migrations and upgrades