Skip to main content

Every Way to Render a React Component, From 2013 to Now

· 37 min read
Pere Pages
Software Engineer
A timeline of React rendering approaches from 2013 to the present

"Rendering" is one of those words that means three different things depending on who you ask. Before we walk the timeline, it helps to separate the layers:

  1. The rendering API — the actual function you call (ReactDOM.render, createRoot, renderToString…) to turn a component tree into DOM or HTML.
  2. The rendering strategywhere and when the HTML is produced: in the browser, on a server per-request, at build time, etc.
  3. The hydration model — how a server-produced HTML page becomes interactive on the client. The post is organized around layer 2 (strategies), because that's where the chronological and simple-to-complex story is richest — but each strategy is tagged with all three: an At a glance box names its rendering API and hydration model too. There's also a short section near the end that lists the API methods on their own, since "render a component" can literally mean those. Each strategy also has a Metrics table in web-vitals shorthand (TTFB, FCP, LCP, TBT, INP, CLS) — every acronym in this post is spelled out in the Glossary at the end.

One honest caveat up front: chronology and complexity mostly line up, but not perfectly. Islands and streaming SSR landed around the same time, for example. I've ordered primarily by conceptual complexity and noted the rough dates as we go.

Frontend Debugging Cookbook — React SPA vs. Next.js

· 12 min read
Pere Pages
Software Engineer
Flat-vector split scene: a browser window on the left wired by tracing lines to a server stack and terminal on the right, with a magnifying glass and a small bug — the two runtimes you debug across.

Debugging a React single-page application (SPA) and debugging a Next.js App Router app are different sports, and the whole difference comes down to one thing: where your code runs. This is a recipe-oriented reference for the questions that keep coming up — where your logs went, how to see backend calls, how to observe React Server Components (RSC), and which logging options and tools are worth reaching for.

How JavaScript Bundlers Work: A Field Guide from 2012 to 2026

· 14 min read
Pere Pages
Software Engineer
Editorial illustration of scattered code modules flowing along conveyor belts into a funnel that outputs a few neat, bundled packages

Bundlers are the most invisible critical infrastructure in frontend development. Every npm run dev and every continuous-integration (CI) pipeline runs through one, yet most of us only think about them when something breaks or when a migration guide lands in our feed. This post is an attempt to fix that: what a bundler actually does under the hood, how we got from script tags to Rust toolchains, which tool owns which niche today, and where the whole thing is heading.

A VPN Is Not the Privacy Shield You Think It Is

· 17 min read
Pere Pages
Software Engineer
A stream of encrypted data flows through a glowing tunnel, but a hooded figure with a single amber eye watches quietly at the point where the traffic emerges

Virtual Private Network (VPN) marketing has done an incredible job convincing people that a single subscription makes them anonymous, secure, and untouchable. "Military-grade encryption." "No logs." "Total privacy." The reality is far messier: a VPN is a useful tool for a narrow set of problems, but as a privacy solution it has structural weaknesses that no amount of marketing can fix.

The OSI Layers for Dummies (and Then, HTTP/3 Explained With Them)

· 14 min read
Pere Pages
Software Engineer
A stack of translucent network layers with an envelope-shaped data packet travelling down through them toward physical cables and radio waves

If you've ever nodded along when someone said "that's a layer 4 problem" while secretly having no idea what they meant, this post is for you. We'll walk through the OSI (Open Systems Interconnection) model with a simple, everyday postal analogy, and then use that new knowledge to understand why HTTP/3 — the newest version of the HyperText Transfer Protocol (HTTP) — is such a big deal.