Is there any proof of concept for using KMP module...
# javascript
m
Is there any proof of concept for using KMP module with ReactJs (With Js or Ts not Kotlin)
a
I have an example of using a KMP module with Vue.js and TS (here). You can explore it branch by branch, from sharing only some parts of business logic to sharing the whole UI. I don't think there is any difference between using it with React.
🙌 3
🔝 2
e
The concept is you can leverage * insert package manager * workspaces feature to link JS and Kotlin-built packages. You can have a monorepository, like Artem's example, which is just an npm workspace. I like to move the Kotlin
distribution
output to a
generated-packages
directory, that I then include in the workspace.
thank you color 1
m
Cool thanks guys! I will give it a try.