dangercoder 2019-05-27T11:19:14.002900Z

With Luminus, Re-frame and Reitit, let's say that when I go to a route I want to fire a couple of events. Are there any examples of how to do that?

ikitommi 2019-05-27T11:20:40.003800Z

@jarvinenemil here’s an example of using reitit controllers just for that:

ikitommi 2019-05-27T11:21:57.005500Z

there is also which has controllers, bit different. Original pattern from Keechma 🙇

ikitommi 2019-05-27T11:23:20.007Z

controllers are statefull, entering a route will call :start of all registered controllers, navigating away calls :stop. there is tracking of the loaded controllers in app state, so only effective diff between route controllers is applied.

ikitommi 2019-05-27T11:24:14.007900Z

#kee-frame & #reitit has usually people to help on those.

dangercoder 2019-05-27T11:26:18.008500Z

Thanks for the guidance @ikitommi!