title: React get previous state
body: <p>I am using a date picker plugin and it is a little cranky.  There is one case where I would like to access previous state, and set current state to it.  Is there an easy way to do this, or do I have to create a previous state property in the component and update it every time I setState?  thanks</p>