https://nextjs.org/learn/foundations
- a component is a function that returns UI elements.
- props are used to pass information data to components.
- state is information that can change over time, usually triggered by user interaction.
- hooks allow you to add additional logic such as state to your components.
Learn more: https://nextjs.org/learn/foundations/from-javascript-to-react/continue-learning-react