This package has been deprecated

Author message:

This package moved to @easyroute/react, please use it instead

react-easyroute
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

alt text

Habitual router in your projects

alt text

React Easyroute - is a simple and convenient router for React just like Vue Router. Supports history and hash mode, navigation guards, base path.

TL;DR Features:

  • Config-based router (just like Vue Router)
  • Dynamic route matching
  • Nested routes
  • Lazy route component loading outside the box
  • Programmatic navigation
  • Named routes
  • Hash, history and silent modes
  • CSS transitions

Looking for demo?

Try this code sandbox

Why you should try it?

1. Well-known syntax
It was inspired by the router for Vue.js, so this router will be understandable to many of you.

2. Still developing
Many features of the router are still ahead. Already now it can be used in projects, and I’m happy to know what will make it better.

3. Community-friendly
Repository cloning and pull requests are welcome!

How to use?

Please see DOCUMENTATION. Router is still developing and new features are coming out frequently.

Under the hood

This is React bindings for Easyroute framework-agnostic library.

Contact me:

Package Sidebar

Install

npm i react-easyroute

Weekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

36.8 kB

Total Files

20

Last publish

Collaborators

  • lyohaplotinka