purescript-cookbook
purescript-cookbook copied to clipboard
How to use `routing-duplex` for type-safe server and client routes
Description of Problem
Use routing-duplex for both server and client (i.e. SPA) routing.
Proposed Name of Folder/Module
Unique Recipe Name: ServerClientRoutingDuplex
Comparison to other recipes
Similar to the RoutingHash* and RoutingPush recipes in that it shows how to handle routing. However, this one uses a different library than those ones.
Here's a an example usage for inspiration:
https://github.com/newlandsvalley/chord-editor/tree/master/src/Navigation