GerryWilko
useState race condition
I'm not really saying it isnt doing its job but this scenario is an issue as you cannot mutate a state variable and know when you can perform an action such as a navigation as the state change is lost. I accept its not a typical scenario but an edge case that feels like there must be a possiblilty of detecting settlement of the state before performing some operations like this
4 replies
Upgrade to nuxt 3.12.2 @nuxt/test-utils issue
So I have resolved this simply by pinning the vue version of 3.4.31 in the nuxt app package.json. Not sure which patch version sorts this but if anyone gets stuck on the same thing hopefully this helps.
7 replies