0.1.4 • Published 6 years ago

declarative-router v0.1.4

Weekly downloads
16
License
-
Repository
github
Last release
6 years ago

declarative-router

Attempt to build a simple solution to handle routing.

why

I think parts of the router should not be tied to the dom, nor to react. It make ssr as well as testing too complicated.

Usage

The router is composed of:

  • route resolver. Which given a list of valid routes and an url, is able to determine the current route.

  • navigator which talks to the browser API to read / write the url.

  • react stuff which should somehow inject the route info.

  • react utilities component such as a link component.

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago