https://kotlinlang.org logo
#compose-web
Title
# compose-web
t

Tomáš Hubálek

06/23/2021, 8:57 AM
Do you know whether Jet Pack Compose for Web is Internet Explorer compatible? When I try our app I get syntax error on line 19:
I'm not JS expert so I don't know what it means.
Is the solution somehow change target JS version for Kotlin compiler?
a

Akif Abasov [JB]

06/23/2021, 9:02 AM
It isn’t compatible, not only because of JS target. It may need some polyfills.
@[JB] Shagen, can you take a look on JS target, why webpack uses ES6 while Kotlin/JS can’t use ES6 yet?
🙏 1
u

[JB] Shagen

06/23/2021, 9:09 AM
We don't support IE and even if we'll figure out what's going on with webpack (which looks like a misconfiguration on a kotlin tooling level rather than in compose) there still won't be any guarantees on a API compatibility level. Microsoft itself is dropping support for IE and we just don't have reasons strong enough to test against it
a

Akif Abasov [JB]

06/23/2021, 9:12 AM
Still someone can try to use polyfills to run it on IE without our support.
c

Colton Idle

06/23/2021, 1:44 PM
"Microsoft itself is dropping support for IE" 👀 Gotta go read up on that. I guess they have a new browser?
a

Akif Abasov [JB]

06/23/2021, 1:57 PM
They have EDGE
j

jim

06/23/2021, 1:58 PM
Yeah, I'm pretty sure EDGE was released back in 2015 🤣
so I'm not sure if it can be described as a "new" browser anymore 🤣. But yes, IE is being replaced and will be past end of life by the time Compose for Web goes stable.
5 Views