Fork me on GitHub
#reagent
<
2018-07-05
>
manas_marthi11:07:06

beginner question: is there a clojure libary for using mobx.js?

pesterhazy11:07:25

@manas.marthi what's your use case? do you want to integrate with an existing React codebase, or simply pick any state mgmt framework?

manas_marthi12:07:40

@pesterhazy pick any state mgmt framework

pesterhazy12:07:35

@manas.marthi in that case, Reagent already comes with much of the benefits that Redux/Mobx provide

pesterhazy12:07:53

immutable data, coordinated change, single global state

4
pesterhazy12:07:23

if you need more, check out re-frame, a beautifully documented, opinionated approach to reagent state mgmt

8
kennytilton19:07:26

@manas.marthi To my mind, Reagent without the re-frame framework is closest to MobX+React. re-frame brings in its own framework, but the pub/sub is more exposed.