React
Props and the useState Hook: Making Components Interactive
Props flow data down into a component; state is the memory a component keeps for itself and can change over time.
Props flow data down into a component; state is the memory a component keeps for itself and can change over time.
useEffect is how a component reaches outside itself — timers, subscriptions, and fetching data from a real backend.
A complete, working todo app built from scratch — the classic first real React project, done properly.
A second real project: a small weather dashboard that searches a city and fetches live results from an external API.