-
Notifications
You must be signed in to change notification settings - Fork 391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception while analyzing expression useEffect
from kotlin-react
#2327
Comments
I'm unsure if it's relevant, but /**
* Only works inside [fc]
* @see <a href="https://reactjs.org/docs/hooks-state.html#hooks-and-function-components">Hooks and Function Components</a>
*/
fun useEffect(
vararg dependencies: dynamic,
effect: EffectBuilder.() -> Unit,
) {
val callback = createEffectCallback(effect)
rawUseEffect(callback, dependencies)
} |
@goncalossilva Is this still actual?
|
I'm no longer actively working on this project, unfortunately. |
I have reproduced it on your old commit. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When running Dokka tasks on a Kotlin/JS codebase using kotlin-react's
useEffect
, it fails with multiple exceptions like:Expected behaviour
It should not fail.
To Reproduce
Dokka configuration
There's not much to it:
Installation
The text was updated successfully, but these errors were encountered: