Dynamic information is information that can change.
React components will often need dynamic information in order to render. For example, a component displaying a game's score will need to check the score before it can display it.
There are two ways for a component to get dynamic information:
state, everything in a component should always stay exactly the same.
You just spent a long lesson learning about
props. Now it's time to learn about
state are all that you need to set up an ecosystem of interacting React components.
Click Next to get started!