An imperative guide to setState in React

added by JavaScript Kicks
9/17/2018 8:18:08 AM

1469 Views

States in React, like props, are objects that are used to store data and affect how the component renders or behaves. Unlike props, states are managed completely within the component and can be changed over time. The change in state for React components can be a result of triggers from user actions, network activity, API requests or specific application behavior.


0 comments