Please check store.js and App.vue. I've tried to create a fetch logic (full user and just username). Please mind the comments and play with comment/uncomment the deep and immediate options.
Also mind the first warning here vuejs.org/v2/api/#vm-watch once you hit the Fetch new username button.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hey Adam, to help our discussion I've created this Codesandbox: codesandbox.io/s/agitated-haze-ojdun
Please check
store.js
andApp.vue
. I've tried to create a fetch logic (full user and just username). Please mind the comments and play with comment/uncomment thedeep
andimmediate
options.Also mind the first warning here vuejs.org/v2/api/#vm-watch once you hit the
Fetch new username
button.