devtools
devtools copied to clipboard
fix: reactivity of useState is not populated properly
đ The bug
When I change the value in the useState, inside a compsable, the new value is not populated proeprly.
Reproduction process
- open devtools -> payload and see
test-my-test - click
Updatebutton - reload value in the devtools (it's still empty)
đ ī¸ To reproduce
https://stackblitz.com/~/github.com/kleinpetr/nuxt-playground/tree/devtools-usestate-reactivity
đ Expected behavior
I would expect the property is being updated.
âšī¸ Additional context
When you reload the page with closed devtools, then hit the Update button and then open them, the value is there and when you click for example to Add string and reload the value, it works correctly but once you hit the Update button again and then reload value in devtools it's stucked.