useTres doesnt get updated on subcomponent #209
Labels
bug
Something isn't working
help wanted
Extra attention is needed
v2
How TresJS should have been from start ☺️
Milestone
Describe the bug
When use
useTres
composable inside a sub-component to obtain the state, this state never gets updated. Curiously it does get updated when accessed fromcientos
or any other packageReproduction
Please provide a link using this template on Stackblitz
Steps
Steps to reproduce the behavior:
context
is updated with the correct value of stateExpected behavior
State using
useTres
should provide correct updated stateScreenshots
If applicable, add screenshots to help explain your problem.
System Info
Output of
npx envinfo --system --npmPackages '{vite,@tresjs/*, three, vue}' --binaries --browsers
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: