Fork me on GitHub

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


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.