purescript-cookbook icon indicating copy to clipboard operation
purescript-cookbook copied to clipboard

How to use `routing-duplex` for type-safe server and client routes

Open JordanMartinez opened this issue 5 years ago • 1 comments

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.

JordanMartinez avatar Jun 26 '20 20:06 JordanMartinez

Here's a an example usage for inspiration:

https://github.com/newlandsvalley/chord-editor/tree/master/src/Navigation

jgarte avatar Oct 27 '22 05:10 jgarte