reitit

https://cljdoc.org/d/metosin/reitit/ https://github.com/metosin/reitit/
2020-10-15T14:02:53.125500Z

I'm getting No protocol method Router.match-by-name defined for type null when calling (rfe/href ::home). To get rid of it I'm wrapping the calling rfe/href with a try catch call swallowing js/Error

2020-10-15T14:11:18.127700Z

I think it's because I'm calling rfe/start! inside a hooks/use-effect. When I call it without hooks/use-effect the protocol is registered and I get no error.