toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-react-core
/
react
/
useEffect
use
Effect
fun
useEffect
(
effect
:
suspend
CoroutineScope
.
(
)
->
Unit
)
(
source
)
fun
useEffect
(
vararg
dependencies
:
Any
?
,
effect
:
suspend
CoroutineScope
.
(
)
->
Unit
)
(
source
)
Only works inside fc
See also
Hooks and Function Components