{"articles":[{"id":"clu37cj2f23vu07miko7padth","introText":"VUE JS is amazing, there's no doubt about it. But there inevitably comes a time when your shiny new app needs to do something when an event is triggered outside of its scope. This can present a problem but with watchers and VUE observables it's super simple to manage. This short article is a quick demonstration of I implemented a VUE watcher on a global variable during a recent project.","slug":"how-to-watch-global-variables-in-vue-js","title":"How to watch global variables in VUE JS","tags":["VUE"],"image":{"url":"https://eu-west-2.graphassets.com/clu2ob2z3n53r07lealbc7wqg/output=format:webp/clu37c6fh24qx07mrbso17ddt"}}],"articlesConnection":{"aggregate":{"count":1}},"pagination":{"page":0,"totalPages":1,"prevPage":null,"nextPage":null},"tag":"VUE"}