This course has been updated! We now recommend you take the Complete Intro to React, v8 course.

Check out a free preview of the full React.js (with Introduction to Flux Architecture) course:
The "State Best Practices" Lesson is part of the full, React.js (with Introduction to Flux Architecture) course featured in this preview video. Here's what you'd learn in this lesson:

Ryan demonstrates how to keep the render() method “stateless”. By doing this, the component will render no matter what state is currently set. He also talks in more depth about the setState method and how it triggers a new render cycle.

Get Unlimited Access Now