Rxjs provides a means of performing a ‘side effect’ without modifying the observable through the observable chain. The ‘do’ command is good candidate for use when there is a need to log out information when specific operations are performed.
//Provide an indication of which interval has action performed
The require call in a ES5 transpiled module from ES6 requires you to call the ‘default’ key of the return function value before the actually functionality can be accessed:
var fantasticModule = require('my-fantastic-module-name');
To solve this problem use the ‘babel-plugin-add-module-exports’ module from here.
After installing that module, require calls from an ES5 environment will no longer need to make the ‘default’ key access before calling.