https://kotlinlang.org logo
#webassembly
Title
# webassembly
x

xxfast

03/16/2024, 12:35 AM
Hi all. Is there any example on how to access browser localStorage with wasmJs?
ah.. that was weird. I was unable to access
kotlinx.browser.localStorage
from
commonMain
from a module that only targeted
js(IR)
and
wasmJs
But i am able to access
kotlinx.browser.localStorage
separately from
jsMain
and
wasmJsMain
Not sure what is going on here 🤔 PR here if anyone is interested
9 Views