Open hoangquochung1110 opened 2 months ago
Components are actually functions that return JSX elements
Components basically have these attributes:
What is the difference between props and state?
Props are read-only information that's passed to components. State is information that can change over time, usually triggered by user interaction.
NextJS (and React) is inspired by the following concepts: