Updating state of a parentless component in React | Arun Michael Dsouza
State is the fundamental way to store and retrieve your React application’s data. It’s nothing but a JavaScript object, which React allows you to update via the setState() method.
arunmichaeldsouza.com