JSFiddle - React, Tailwind, and code Playground

HTML

<div>
    <span data-bind="text: a.test"></span>
    <span data-bind="text: b.test"></span>
</div>

JavaScript

var aViewModel = function()
{
    self.test = "test from a";
};

var bViewModel = function()
{
    self.test = "test from b";
};

masterVM = {a: new aViewModel(),
            b: new bViewModel()};

ko.applyBindings(masterVM);