In this tutorial, Markus Oberlehner shows us how to observe REST API using Vue.js.

Just recently I discovered a rather new feature in Vue.js (since 2.6.0+): Vue.observable. Vue.observable is used internally in Vue.js to make the object returned by the data() function of a component reactive.

In this article we’ll take a look at how we can use this new feature to build a very simple reactive polling system for a regular REST API.

vue.js tutorials