JSFiddle - React, Tailwind, and code Playground

by gianlucaguarini

HTML

<script src="http://rawgithub.com/mikeric/rivets/master/dist/rivets.js"></script>
<span rv-text="name"></span>

JavaScript

var data = {
        name:'test'
    },
    view;
       
view = rivets.bind($('span'),data)
view.unbind();

// this change should not change the span html
data.name = 'whatever';