keechma

Keechma stack. Mention @U050986L9 or @U2J1PHYNM if you have any questions
mihaelkonjevic 2018-04-19T16:10:44.000178Z

@mjmeintjes Here’s something new that’s coming to Keechma that might be interesting to you: https://github.com/keechma/keechma/blob/master/test/keechma/test/app_state.cljs#L96-L132 . I’ve added ability to manually trigger “rerouting”. Use case for this is when you have a route-processor and you use some data from the app-db to determine the current route. For instance you might have some logic that would enforce {:page "login"} if there is no current user in the app-db. Then after the user logs in, you would call reroute from the controller (or the UI). This would push the last route through the system again, but the route processor would return a different value so it would cause different controllers to start, stop, etc.