Fork me on GitHub
#reitit
<
2020-10-15
>
geraldodev14:10:53

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

geraldodev14:10:18

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.