composables/watch_effect library
Functions
-
watchEffect$(
VoidCallback callback) → VoidCallback -
Sets up a reactive effect triggered by
callback
and returns a function to dispose of the effect when it’s no longer needed.
callback
and returns a function
to dispose of the effect when it’s no longer needed.