JSFiddle - React, Tailwind, and code Playground
by lega911
HTML
<script src="https://rawgit.com/Riim/cellx/master/cellx.js"></script>
JavaScript
var start = performance.now();
var index = cellx(0);
index('subscribe', function() {
var value = index();
var finish = performance.now();
var result = 'result = ' + value + ', ' + Math.floor(finish - start) + 'ms';
document.body.innerHTML = result;
});
for(var i=2;i<1000000;i++) {
index(i);
}