Fork me on GitHub
Pavel Klavík02:03:15

Hi, I was implement a workaround for Material-ui TextField described here:, and I am curious why create-element + convert-props-value is used instead of adapt-react-class. I wrap it as

[:> TextField {...}]
and everything seems to work fine.


@pavel.klavik Might have been because apply works nicely for handling variable number of children. :> and adapt-react-class also do automatic conversion of props from Cljs -> JS which often can work incorrectly, but doesn't seem to affect this as this calls the same convert function.


I've added new example project for React Context and the docs now link to this: this describes the difference for properties conversion

👍 4