Fork me on GitHub
#cljsrn
<
2017-04-29
>
myguidingstar06:04:24

hi all, anyone knows how to port this React native code to Clojurescript (Reagent or Rum in particular)? It has something to do with "ref"

jimmy14:04:13

@myguidingstar in rum you have rum/ref , in om you have om/get-node. Not sure about reagent

benny14:04:51

(def popup (js/require "react-native-popup-dialog")) then (def dialog (r/adapt-react-class (.-PopupDialog popup))

benny14:04:20

For reagent