Recently there was extraction of kotlinx-browser l...
# javascript
p
Recently there was extraction of kotlinx-browser library from wasmJs target. I wonder why not to make the same for Js target. And make kotlinx-browser 'multi web platform'. If doing so one can make common web sourceSet for both Js and WasmJs with common logic depending on this library. Now there is copy/paste for web common cases.
r
It was made for JS target a long time ago.
But unfortunately these are separate projects.
I wait for wasmJs support in kotlin-wrappers https://github.com/JetBrains/kotlin-wrappers/issues/2449
p
Yes. The point is to have a single library for both targets.