Hello, Using the latest version of Kotlin-Wrapper...
# javascript
t
Hello, Using the latest version of Kotlin-Wrapper for React, I am trying to use
useContext
but I am facing this error
Copy code
When accessing module declarations from UMD, they must be marked by both @JsModule and @JsNonModule
Have you already encountered this issue?
t
Your dependency (common subproject for example) must have
moduleKind
-
commonJs
i
t
Thanks to both of you, that solved my issue 🙂