pshrmn / curi

A JavaScript router for single-page applications
https://curi.js.org
MIT License
269 stars 10 forks source link

Improve route matching #197

Closed pshrmn closed 5 years ago

pshrmn commented 5 years ago

The new path matching code should be easier to understand as well as faster. Param mapping is delayed until we know that it is necessary.

The path matching tests are also expanded to ensure that routes with children routes work correctly.