BuckleScript bindings to the Director router.
npm i bs-director
let router =
DirectorRe.makeRouter {
"/": fun () => Js.log "Navitaged to tasks list",
"/active": fun () => Js.log "Navitaged active tasks list",
"/completed": fun () => Js.log "Completed a task"
};
DirectorRe.init router "/";