enhancementhelp wanted
Métricas do repositório
- Stars
- (264 estrelas)
- Métricas de merge de PR
- (Métricas PR pendentes)
Description
Event handlers in re-frame should be pure. In the handlers there are side effects created by calling ajax functions.
https://github.com/yogthos/memory-hole/blob/master/src/cljs/memory_hole/handlers/admin.cljs#L15
The re-frame / pure way would be to write an effect handler which handles the execution of the state change. Have a look at the following library to see how this can be solved in a pure way: