reading-notes

Thinking in React

Summarize the five steps of thinking in react. State: A Component’s Memory

What is one reason a local variable isn’t sufficient for managing a React component? What is the argument to the useState hook, and what are the two parts of its return array? How can Component A access state from Component B?