Hi, can I depend on kotlin-js-wrappers to create R...
# multiplatform
g
Hi, can I depend on kotlin-js-wrappers to create React components in a multiplatform project? When I added the dependency to my JS/Node target I couldn’t import RComponent for instance
s
Works for me in the multiplatform-js plugin (or whatever its called).
g
Yup, indeed it works in the gradle project itself. I am trying to import those in the mp project so that I can create views as well, not only models, business logic and networking. We can build UI for Android and iOS, so I am trying to do the same for React
s
Oh, so you want react in the common module ?
g
Yes exactly
For the JS platform part