How to build a reactive engine in JavaScript.

Reactive engine - Observable objects

As the writing says first you need a base for the reactivity engine(what is Reactive programming). Before that there is a small comparison about observing and reacting to the changing application state, with Angular 1.x -2, React, Cycle.js, and Vue.js.

Vue.js is picked because of the getters/setters provided, needed to create observable data models. The tutorial continues with:

  1. The observable object
  2. Reacting to changes
  3. Example on JsFiddle

Read the first part here.

The next part will be about creating computed properties, where each has its own trackable dependencies.