reitit

https://cljdoc.org/d/metosin/reitit/ https://github.com/metosin/reitit/
Kira McLean 2021-02-23T22:00:34.004600Z

Is it possible to get reitit front-end controllers to fire when just a query param changes? The front-end router seems to pick up the navigation properly, but the controllers don’t fire. I’m brand new to reitit and not even confident I’ve got this set up properly.. wondering if this is possible?

Kira McLean 2021-02-23T22:03:13.004900Z

For reference, I”m working with something like this:

Kira McLean 2021-02-23T22:09:41.007200Z

navigating to home works as I expect and fires that :start controller, and changing q (by e.g. navigating back from the browser) does fire handle-navigation, but not the start/`stop` controllers like I was hoping. I suspect I’m missing something about how to set up the query parameters, I couldn’t find much info about it and just copied some examples I found around the internet.

Kira McLean 2021-02-23T22:10:03.007900Z

Anyway, hopefully that explains what I’m trying to accomplish. Any help is much appreciated.