rum

Simple, decomplected, isomorphic HTML UI library for Clojure and ClojureScript | 0.12.8 https://github.com/tonsky/rum/blob/gh-pages/CHANGELOG.md#0128
euccastro 2018-07-25T00:51:27.000171Z

wherever a React function expects you to pass in a React element (like in the case of HandleSpan and HashtagSpan in the example here: https://draftjs.org/docs/advanced-topics-decorators.html), how would you do that if you want to pass in components defined in rum (i.e., with rum/defc et al)?

euccastro 2018-07-25T00:53:19.000045Z

I know you can get the React component from a rum component given the state of the latter (i.e., with :rum/react-component), but how do I get it if I'm creating the component to return to another function?

euccastro 2018-07-25T02:20:16.000114Z

nevermind, I found out that the element is the return value of the function that (rum/defc my-comp ...) generates and binds to my-comp. the only other caveat is that to interop with native React APIs you may have to deal with props objects instead of cljs arg vectors