sorry @tonsky I'm not sure I follow, what you do mean specifically by "rum function". Thanks again for the help.
Rum doesn’t have React class exposed because the only thing you can do with it is to create element. So Rum gives you a function that does that for you. If you need to wrap it, create another function and wrap the function that Rum gives you. I think it’s me who don’t follow what your use-case is
(defn wrapped-component [x]
(create-component {:render [:div x] :will-update #(... x ...))}
this won’t work because you don’t want to create classes dynamically. Only instancesI think I understand 🙂