Hi guys! Our KMM project is a weather app built to...
# multiplatform
p
Hi guys! Our KMM project is a weather app built to Android and iOS. Now we want to make a web version of the app. I wonder if JavaScript (js) target is still supported. If so, are there any contemporary examples how to add js support to a kmm app?
👌 2
f
If your UI is Compose, you can also consider WASM for web.
p
WASM is nice, but is not supported as widely as JavaScript. Unfortunately WASM is not supported on older browsers or TVs. We want avoid limiting the app to the modern platforms only.
👌 1
A couple of years ago I have added a js target to the project. But now it is not able to build with some creepy "node.js" errors. I'm looking for a contemporary example of js target integration.
f
Ehm.. The only example I can think of, is Wonderous: https://shreyashkore.github.io/wonderous-compose-js/
👍 1
p
@Frank Bouwens Frank, thank you so much. That's the kind of a project I was looking for!
kodee happy 1
a
You could also have both targets and deploy wasm to supported devices as necessary
👍 1