Skip to content

Latest commit

 

History

History
 
 

RoutingHashHalogenClassic

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

RoutingHashHalogenClassic

This recipe shows how to use purescript-routing to do client-side hash-based routing in a Halogen-based single-page application (SPA).

Expected Behavior:

Browser

When you click on the links, you should see:

  • The anchor in the URL change
  • The current route rendered on the page
  • Route changes logged to the dev console

You may also edit the URL directly instead of clicking on the links.