Composable used in Component is not reactive
I created a composable "useTimeRecordings()" where I manage state of a few fields e.g.:
And in my component I am using:
And this value is not updated. Any idea why? I am assigning the array correctly, I am using computed props as return and yeah. π€
Is it because i am not "awaiting" the records? π€
3 Replies
Unknown Userβ’17mo ago
Message Not Public
Sign In & Join Server To View
If i destructure a non computed version it would "remove" reactivity afaik.
But yeah ... would not resolve my problem that recordings is not reactive when used in a component. Only if i am using await.
Unknown Userβ’17mo ago
Message Not Public
Sign In & Join Server To View