reitit
reitit copied to clipboard
reitit.frontend.history push-state and replace-state don't handle non-matches well
When a complete match is not found, these fns still trigger .pushState and .-on-navigate. A nil check before triggering these effects, along with a thrown error or an error message would be preferable. Currently checking for a nil result from href as a workaround.