You AddButton component cart state count: 3 → 4 CartBadge re-renders click 1/4 You click the Add button, a small reusable component.
Interfaces built from reusable pieces that redraw when their data changes.
Open → One stylesheet breakpoints Desktop ≥ 1024 px: 3 columns Tablet 768 px: 2 columns Phone < 640 px: 1 column lg: 3 cols 1/3 Wide screens get three columns and a sidebar.
One layout that rearranges itself for every screen width.
Open → <button> aria-label="Close" Accessibility tree role · name · state Screen reader Keyboard Tab · Enter role: button 1/3 The browser turns real HTML elements into an accessibility tree.
Usable by everyone: keyboard users, screen readers, low vision.
Open → Build step static Server per request Browser client side HTML page what you see at deploy 1/3 Static: built once when the site is deployed, then served from a CDN. Fastest.
Rendering: static, server, browser
Where the HTML is made: at build time, per request, or in the browser.
Open → Server HTML visible at once JS bundle arrives later Interactive clicks work HTML 1/4 The server sends finished HTML, so the page is readable immediately.
JavaScript waking up a page that already arrived as HTML.
Open → <Link> href=/tools Router in the browser Tools view Address bar /web-mobile/tools click 1/3 The router catches the click instead of letting the browser reload.
Moving between pages without a full reload.
Open →