mirror of
https://github.com/jlengrand/compose-multiplatform.git
synced 2026-05-07 15:51:06 +00:00
* move to kotlin 1.6.10-RC and corresponding compose commit * Update path to the karma plugin we are patching * Add ExperimentalComposeWebStyleApi what worries me that this actually shows that there are some cases where without any changes apart version compiler people will have to worry about such annotations * update kotlin version in templates to adopt 1.6.10-RC * web: move ComposableWithNullableTypeParameter.kt to passing test cases * update kotlin version in other places * update imageviewer example: add OptIn for experimental API * move compose * move to kotlin 1.6.10 and corresponding compose * move to kotlin 1.6.10 and corresponding compose * move to 1.0.1-rc2 * move to 1.0.1-rc2 (todoapp) Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com> Co-authored-by: Shagen Ogandzhanian <shagen.ogandzhanian@jetbrains.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