Fork me on GitHub
#om
<
2016-12-15
>
keatondunsford04:12:59

Hey @dnolen @anmonteiro, have either of you thought of replacing om.dom with a CLJS equivalent of React-Native-Web? https://github.com/necolas/react-native-web I know that indirectly there has been mobile emphasis of Om Next for React Native via re-natal. But it would be so cool if there was a direct effort in the Om project to make Om work on any platform, comprising just one epic framework to “write once, run anywhere” — be it the browser, mobile, desktop or even Windows, with just a few minor tweaks. Om would totally conquer JS land once and for all. ❤️

afhammad10:12:16

Thanks @danielstockton. That seems to be the only example out there.

danielstockton10:12:15

you can also look at #untangled, this is created for a real application and sees more real-world usage (probably)

danielstockton10:12:29

its a framework built on top of om.next

levitanong16:12:48

@danielstockton afaik React itself doesn’t support use, and in fact it used to be in om until we found some issues. For now, try using the create-element function in master (i think 48 hasn’t been published on clojars yet)

danielstockton19:12:08

Thanks, I did not know about create-element