Fork me on GitHub
#re-frame
<
2019-11-23
>
y.khmelevskii11:11:11

hi! Just curious why re-frame has reagent in dependencies? I’m going to use re-frame and hx and I was a little bit confused when saw this dependency.

y.khmelevskii11:11:58

ok, I see 5 and 6 re-frame dominos but I would like to use hx as view react lib. Will I have some problems with re-frame and hx without reagent?

mikethompson11:11:59

@y.khmelevskii yes, re-frame depends on reagent

lilactown17:11:59

@y.khmelevskii using re-frame with hx is fine. you will need to pay the cost in code size because it includes reagent by default for subscriptions

lilactown17:11:29

hx can interop with reagent ratoms and subscriptions using a react hook

y.khmelevskii19:11:29

understand, thank you