This page demonstrates
y-plain-state,
which synchronises arbitrary
JavaScript data structures across browsers. To try it out, open up the
browser dev tools and type JavaScript commands directly in the console.
There is a global object set up called state. You
can manipulate this by typing regular JavaScript things like
state.foo = 'bar'
or
state.children = []
state.children.push({ name : 'first child'})
The state will be updated in the box below, and automatically sychronised,
in any other browser looking at the same page.