Topic

React Component State

State is what makes any app actually do something useful. React has a powerful API that allows you to manage the state of every component. In this topic you'll find a number of links to understand all the options and approaches that are commonly used when managing state in React.


2 resources available

What's new in React 16.3(.0-alpha)

React 16.3-alpha just hit npmjs and can be downloaded and added to your project. What are the biggest, most interesting changes? [continue]

Article by Bartosz Szczeciński

Watch Out for Undefined State.

This tutorial aims to give you some tips on how you can avoid an undefined state in your component working with async calls [continue]

Tutorial by Dave Ceddia

What is the React component State / How to use the React component State / Best practices to use the component State / Updating the component State / React State vs props / Set the React component State / Component initial state / Adding local state to a Class component / How to define a component's initial State / React setState callback / Understanding State in React Components / State anti patterns / Asynchronous State Updates / Using State correctly