Introduction
State and props control what a component shows and how it acts. They help the app update and respond to user actions.
When you want a button to change its label after being pressed.
When you need to show different text based on user input.
When passing information from a parent screen to a child screen.
When you want to update a list after adding or removing items.
When you want to keep track of user choices inside a screen.