<div id="app"></app>
class Todo extends React.Component {

    componentDidMount() {
        setInterval(() => {
            this.setState(() => {
                return { unseen: "does not display" }
            });
        }, 1000);
    }

    render() {
        console.log('render called');
        return (<div>...</div>);
    }
}

React.render(<Todo />, document.getElementById('app'));
View Compiled
Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. //cdnjs.cloudflare.com/ajax/libs/react/0.13.0/react.min.js