lance.Software Developer & Designer
← All Ramblings

Mar 23, 2025 / Development

I knew where my code ran yesterday.

I came to JavaScript frameworks from server-side development, where I had a pretty good sense of where my code was running. There was a hint right there in the name.

For most of my career, I never had to guess where my code was running. In server-side development, there’s a helpful clue right there in the name. A request came in, the server did some work, and it sent back a page. If somebody submitted a form and the database record didn’t change, I knew exactly where to start looking—usually at the line I’d just written and already decided was fine.

When JavaScript frameworks took over the front end, the deal still seemed simple enough, even from the outside: ship the whole bundle to the browser at once and let the client handle it. That was a big shift from rendering HTML on the server, sure, but at least the boundary was clear. Your server was an API, your framework lived in the browser, and everybody stayed on their own side of the network.

Then I finally sat down to learn one—right around the time the ecosystem decided to add server-side rendering back into the mix. Suddenly the clear boundary was gone. The same component might run on the server for the first request, hydrate in the browser a moment later, or require a special directive just to clarify which machine is supposed to execute it.

It’s a strange feeling to leave server-side development to learn how the modern front end works, only to spend half your time squinting at a component trying to figure out whether it’s running on the server again.

I’m still fairly new to JavaScript frameworks, so I’ll leave the debate about which one is best to people who have tried at least two.