`browser` was <removed away in Kotlin 2.1.0> into ...
# compose-web
a
browser
was removed away in Kotlin 2.1.0 into a new library, but it seems it's WASM only What about JS?
Ended up downgrading to 2.0
j
JS hasn't changed
a
thanks for confirming. something else is up. getting this weird browser is not defined out of nowhere EDIT: stacktrace is not from my codebase
j
Actually... I just realized that we define our own externals. So maybe don't trust me!
Precisely because we can't take a dependency on an unstable library from our stable library, even if it's only implementation details
a
abort. all is good. just realized it's my website, not compose web 😅
found the culprit. it was some chrome extension
e
kotlinx-browser is WebAssembly only, while in K/JS standard browser APIs will still be accessible. Alternatively, you can use the kotlin-wrappers's
browser
module as an imported dependency. The current situation is definitely confusing tho.