Skip to content

Interaction between Compose and Javascript #1544

Discussion options

You must be logged in to vote

Hi @JohannBlake!

Compose for Web, being a Kotlin/JS project supports interoperability with JS exactly to that extent that Kotlin/JS does.
Literally anything from JS world can be called in Kotlin/JS code however how exactly it's done is out of scope of Compose for Web documentation.

However, my guess would be (based on the second part of your question) that you might be not interested in interoperability in general but on how to make async call to server via standard browser API.

This is just not the part of Compose for Web API which we intentionally trying to keep as small and basic as possible. For instance, in community we had some discussion on whether we should have routing out of the…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by akurasov
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants