JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://www.linkexchanger.su/example_jquery/js/jquery.cookie.js"></script>
<button onclick="$.cookie('state', new Date().getTime());">Set new state</button>
<script src="http://www.linkexchanger.su/example_jquery/js/jquery.cookie.js"></script>
<button onclick="$.cookie('state', new Date().getTime());">Set new state</button>