Eternal
Explore posts from serversUI not changing when ref variable changes
When I change the value of the variable, the UI doesn't change. After the function finishes executing, the variable resets to the state it was in before the function ran.
I attached a
watch()
to the variable to check if something else was resetting it, and when the function executes the watch()
never runs.
I'm on Nuxt 3.113 replies