Juho Teperi
Juho Teperi
As with other React features, this should already be usable with Reagent without changes. Try `(react-dom/hydrate (r/as-element [main-component]) container)`
Lets document this propertly or add a wrapper function.
@cbillowes Is this with Reagent 1.1.0? https://github.com/reagent-project/reagent/commit/edd3c59c86c921bc5bf92abcf86f7fa215dde11e might have helped to clear up the stacktrace. There really isn't much we can do to improve error reporting more for cases where...
Yeah I'm thinking about closing this. One case that might hide the function where hiccup is generated, is form-2 or 3 case, where the render fn doesn't have a name:...
Can you provide some example cases? Is array as props even valid in React? IIRC, Clojure data serialization will always happen with `adapt-react-class`, but in that case user shouldn't use...
Looking at this, I don't understand what is the problem. `js-val?` checks if the value is something that is already js-value, and if it is, like number of string (or...
#554
Sounds good. Some of the examples are missing cljsjs react and react-dom dependencies as those were included in Reagent before 1.1.0.
If `adapt-react-class` doesn't work like you want, you can just call `create-element` and other React function directly, these wont transform the properties: ```clj (defn wrapped-react-component [_props & children] ;; props...
@p-himik `sortableHandle` function doesn't return an element but a component. Element has to be instantiated from component using `createElement`. Maybe react-sortable-hoc is a lib I should use for React lib...