How can I make sure a reagent component is updated when its size changes?
https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver
thanks!
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 ?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