A minimalistic ClojureScript interface to React.js
wombawomba 2020-11-08T15:55:21.189400Z

How can I make sure a reagent component is updated when its size changes?

wombawomba 2020-11-08T16:02:37.189800Z


Andrei Stan 2020-11-08T19:25:59.191900Z

Hello, I am trying to implement react-dropzone (still trying); When i import

["react-dropzone" :default Dropzone]
and i js/console.log Dropzone i reveive an object
{$$typeof: Symbol(react.forward_ref), displayName: "Dropzone", defaultProps: {…}, propTypes: {…}, render: ƒ}
How can i proper render a $$typeof: Symbol element ?

Andrei Stan 2020-11-09T19:44:14.195200Z

Thanks a lot! 
this works so far (no errors):

(defn child []
  (r/as-element [:p "drop here"]))

[:> Dropzone {} child]
Now i need to figure out how to implement the dropzone :D