-
From my experience if you're truly trying to interop with JavaScript code that is already out there on npm, you better hope there is a library that already wraps it like kotlin wrappers. Otherwise you would have to write a wrapper library yourself or use dukat to convert typescript definitions to kotlin (which I have never had the best luck converting but maybe it got better?).
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
From my experience if you're truly trying to interop with JavaScript code that is already out there on npm, you better hope there is a library that already wraps it like kotlin wrappers. Otherwise you would have to write a wrapper library yourself or use dukat to convert typescript definitions to kotlin (which I have never had the best luck converting but maybe it got better?).
-
Now if you're just writing a crud app (what my hobby project is) and you use compose multiplatform for your UI, SQLDelight for persistence, and one of the many MPP architecture libraries, you don't have to write a wrapper.
-
Kotlin-Multiplatform-Libraries
Kotlin Multiplatform Libraries. Welcome PR if you find or create new Kotlin Multiplatform Library.
Now if you're just writing a crud app (what my hobby project is) and you use compose multiplatform for your UI, SQLDelight for persistence, and one of the many MPP architecture libraries, you don't have to write a wrapper.
-
Since I'm using material-ui as web component library, I'm also using the muirwik Kotlin wrappers for material-ui. The only challenge is that for most of the React components out there, there are no Kotlin wrappers available yet, so I had to write a couple of them on my own (e.g. for react-resize-detector).
Related posts
-
Multi-platform libraries built with Kotlin Multiplatform (KMP)
-
I'm creating a REST API using KTOR. What's the best ORM to go with KTOR ?
-
Compose Rich Text Editor 0.2.0 released, with a lot of new features
-
KMM alternatives to Android Datastore & Room DB?
-
Adopting Kotlin Multiplatform Mobile(KMM) on 9GAGĀ App