Why Data Fetching Matters
Understand why websites need to fetch data from servers — and how the web evolved from static pages to dynamic, real-time experiences.
Static Pages vs. Dynamic Data
Think about the websites you use every day. When you open Instagram, your feed is different from anyone else's — and it updates every time you pull to refresh. When you search on Google, the results are generated on the fly based on what you typed. When you check Amazon, the prices and availability can change from minute to minute.
None of this content is baked into the HTML file that your browser downloads. The HTML is just a shell — a skeleton that says "put the feed here, put the search results there." The actual data (posts, search results, product listings) comes from servers via separate requests that happen after the page loads.
This is the fundamental difference between static and dynamic websites. A static site delivers the same content to everyone — like a printed brochure. A dynamic site fetches fresh data and assembles the page in real time. Almost every modern website you use is dynamic, and data fetching is how it works.