Hi, after running `jsBrowserDistribution` to gener...
# javascript
m
Hi, after running
jsBrowserDistribution
to generate a final .js file I keep getting this error, not sure why it can't find the method, do I have to do anything specific when implementing things from kotlin-wrappers?
t
Looks like invalid code. Do you use
IntersectonObserver
from Kotlin Wrappers?
m
Yeah, I have added
org.jetbrains.kotlin-wrappers:kotlin-browser:1.0.0-pre.760
as a dependency to use the
IntersectonObserver
, the weird thing is that it does work but spams the console with that error
t
Could you share observer creation/configuration code?
m
The code is a bit messy but it's just this https://pastes.dev/QjEBYgKmwy Though I have kinda found the issue, this error seems to only happen when using HTMX's
hx-boost
tag
👍 1