This is a contrived example of using Immutable structures as React state. This example assumes React v0.13 or higher. v0.13 provides the functional setState API and allows for Iterables to be used as React children. This example also uses some ES6 features (destructuring, and arrow functions). Note that state must be a plain JS object, and not an Immutable collection, because React's setState API