toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-react-core
/
react
/
useRefValue
use
Ref
Value
inline
fun
<
T
:
Any
>
useRefValue
(
)
:
RefValueInstance
<
T
?
>
(
source
)
inline
fun
<
T
:
Any
>
useRefValue
(
initialValue
:
T
)
:
RefValueInstance
<
T
>
(
source
)
Only works inside fc
See also
Hooks and Function Components