Fork me on GitHub
#re-frame
<
2018-01-28
>
Vincent Cantin07:01:11

Hi. What data transport library are re-frame users usually using for client-server communication?

Vincent Cantin00:01:49

Thank you. I will learn from your code.

Vincent Cantin08:01:53

Thx. And for realtime communication?

p-himik08:01:58

I use https://github.com/jarohen/chord but there're plenty other libraries with similar functionality.

danielcompton08:01:59

Sente is another option for websockets

deg17:01:35

Browsing code on github, i found this usage of :> in a re-frame app. What does it mean? (or, am I just staring at someone's typo?)

(defn app-root []
  (fn []
    [:> my-component {}]))

danielneal20:01:01

I think it means something like adapt react class, i've seen it used for interop. Annoyingly impossible to search for 😬

danielcompton20:01:01

@deg there is hiccup syntax where you can do [:div>span "My span"] and it creates a nested span inside a div

danielcompton20:01:34

ah, this is for integrating with react components: http://reagent-project.github.io/news/news060-alpha.html (see "Better interop with native react")