Open altavir opened 3 years ago
From https://kotlinlang.slack.com/archives/C01F2HV7868/p1620840823134500 Oleksandr Karpovich [JB] 8 hours ago I made a quick naive example (kind of PoC) https://github.com/JetBrains/compose-jb/tree/web-with-react-component-example/examples/web-with-react it integrates https://www.npmjs.com/package/react-youtube-lite (wraps it in @Composable) hope that gives some idea. Let us know if it's sufficient and what advanced examples you would like to see. UPD: https://play.kotlinlang.org/hands-on/Building%20Web%20Applications%20with%20React%20and%20Kotlin%20JS/07_Using_Packages_From_NPM - this might help with making kotlin wrappers for components from npm
An important thing in JS ecosystem is the integration with existing libraries and frameworks. So there should be examples with integrations with: