mirror of
https://github.com/jlengrand/compose-multiplatform.git
synced 2026-03-10 08:11:20 +00:00
Co-authored-by: Roman Sedaikin <roman.sedaikin@jetbrains.com> Co-authored-by: Igor Demin <igordmn@gmail.com>
Use Compose(web) in React app
useCompose(...) is a custom React effect to render a content using Compose.
It's not a part of any library.
Use React in Compose(web) app
UseReactEffect(...) is a custom Compose effect to render a content using React.
It's not a part of any library.
How to use existing React components:
It requires adding external declarations. For example: ReactYoutubePlayer.kt
Here is a good tutorial - Using packages from NPM
Running web application
./gradlew jsBrowserRun