JSFiddle - React, Tailwind, and code Playground

by Simon Herteby

HTML

<div id="vue">
  {{test.hello}}
</div>

Vue

new Vue({
	el:'#vue',
  data(){
  	return {
    	test:null
    }
  },
  created(){
  	setInterval(()=>{
    	if(this.test === null){
      	this.test = {hello:'woot'}
      } else {
      	this.test = null
      }
    }, 1000)
  },
  renderError (h, err) {
    return h('pre', { style: { color: 'red' }}, err.stack)
  }
})