Fork me on GitHub
#re-frame
<
2016-11-05
>
rui.yang02:11:35

hi, wonder if it is possible to integrate reagent-form with re-frame

decoursin03:11:04

@curlyfry The latter - I'd like to react to changes to an in-memory dataset on a hosted server.

elahti06:11:15

What's the minimum re-frame app size that you've been able to get with :optimizations :advanced?

elahti06:11:47

I always get something around 500 kB. Would like to know if it's possible to get a lot smaller than that since 500 kB is quite big sometimes (bad mobile connections, etc)

rui.yang08:11:55

@elahti i have the same question. size of my app is also around 550k.

kauko09:11:41

@decoursin I obviously don't know your exact use case, but I'd guess "something like re-frame" is not what you need. These libraries are designed for the UI, and I don't only mean that they're implemented in cljs. They're designed around the idea of having UI components, and that you really only have one thing going on at a time. I mean, in a normal UI, you don't have 100 users clicking on different buttons at a time.

andreas-thoelke15:11:22

@decoursin: May be worth looking into the various Clojure CQRS / ES projects on github as the patters are related.

andreas-thoelke15:11:22

Also you could use Pulsars Rx namespace to rebuild the reactive/signal part of the re-frame pattern and be able to push updates to e.g. a websocket connection.

decoursin21:11:48

@kauko @andreas-thoelke Thank you both very much. You're right, ES is actually probably what I want. (Even though, it seems to me re-frame on the backend could be useful under certain circumstances, disclaimer I don't know the actor model.) I really like that talk by Bobby Calderwood, thanks for the link. I had known about his previous talk CQRS, but I wasn't aware of this new one. Thank you 🙂

mikethompson22:11:48

@decoursin I wonder if you are looking for something like this: https://www.youtube.com/watch?v=B1-gS0oEtYc