Zum Inhalt springen
Kitbay
Skill

react-router

MITAktualisiert am 10. Nov. 202656.636GitHub-Sterne

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.

Was der Skill vermittelt

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.

Funktionen

  • 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