Fork me on GitHub
#reagent
<
2018-03-30
>
kingcode18:03:31

How would one refer to an external (possibly non-Google-closure compatible) Module? I am trying to create a new React class using `(require ’[react]) (def myComponent (reify React.Component (render [] (fn ...)))) but I get a NullPointerException for the reify form (I assume React.Component can’t be found) I know React.createClass is deprecated, and that there is a react-create-class patch for npm, but I just have a vanilla clojurescript app. Thanks for any comment...

kingcode18:03:36

Oopps sorry, I am in the wrong channel - will post this in Clojurescript chan..