@redwoodjs/router
TypeScript icon, indicating that this package has built-in type declarations

8.6.1 • Public • Published

Redwood Router

This is the built-in router for Redwood apps. It takes inspiration from Ruby on Rails, React Router, and Reach Router, but is very opinionated in its own way.

Redwood Router (RR) is designed to list all routes in a single file, with limited nesting. We prefer this design, as it makes it very easy to track which routes map to which pages.

Package Leads

Docs (and Features)

For the complete documentation, see:

Features include:

  • Private routes
  • Prerendered routes
  • Sets of routes
  • Navigation and History
  • Accessibility
  • and more...

Contributing

Want to make RR even better? Contributions are welcome!

A great way to get started is looking through these open issues:

If you have questions, you can reach out to the package leads or ask for help in the "Contributors" channels on either Redwood Discord or Redwood Forums.

/@redwoodjs/router/

    Package Sidebar

    Install

    npm i @redwoodjs/router

    Weekly Downloads

    15,883

    Version

    8.6.1

    License

    MIT

    Unpacked Size

    396 kB

    Total Files

    275

    Last publish

    Collaborators

    • thedavidprice
    • selfteachme
    • peter.pistorius
    • justinvdm