Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 1.67 KB

README.md

File metadata and controls

24 lines (20 loc) · 1.67 KB

Examples

To try the examples run yarn install into the examples directory. Then go into each of the folders and execute yarn start. This will start a http server at http://localhost:3000.

  • Basic routing (with full page reload) - source
  • Basic routing (SPA experience) - source
  • Using regular expressions - source
  • Node - source
  • Routing based on the hash in the URL - source
  • Mixed routing - absolute URL navigation + hash based - source
  • Custom selector - source

Examples done to investigate issues:

  • How to add a confirm prompt before leave? #250 - source
  • notFound is not working on new page (refresh) #229 - source
  • Is it possible to replace/redirect a route request? #228 - source
  • Named groups in RegExp #270 - source
  • Incorrect path detection #191 - source
  • Hook not firing on first page unload #179 - source
  • Global before hook except for 1 page #163 - source
  • Incorrect root detection #138 - source
  • Using anchors tags with #111 - source
  • Problem with hash based routing and history items #111 - source