This is really helpful, and using the callback form of `setState` helped me out recently with a bug…
Andrew Patton
12

Also note that replaceState is not available in ES6 components, and may be removed in the future (see the documentation at https://facebook.github.io/react/docs/component-api.html).

Like what you read? Give Tomas Carnecky a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.