tech/webdev magazine

May 15, 2025

Impossible Components

Thursday, May 15, 2025 Teklinks

Suppose I want to greet you in my favorite color. This would require combining information from two different computers. Your name would be coming from your computer. The color would be on my computer.

Full article

Why Do We Have a Cache-Control Request Header?

Thursday, May 15, 2025 Teklinks

I’ve written and spoken many, many times about the Cache-Control response header and its many directives, but one thing I haven’t covered before—and something I don’t think many developers are even aware of—is the Cache-Control request header.

Full article

How to Think About Time

Thursday, May 15, 2025 Teklinks

Time is what keeps everything from happening at once. —Ray Cummings It’s hard to write much code without encountering the need for when. We might need to record when something happened. Or dictate when something should happen. Or give a range during which the thing can happen. Or in some other way, our code needs to deal with dates and times.

Full article

May 9, 2025

Robust Data Fetching Architecture For Complex React/Next.js Apps

Friday, May 09, 2025 Teklinks

How I use the 'Three Layers of Data' architecture pattern for React and Next.js apps to avoid common pitfalls, tech debt, and improve performance Most of us underestimate data fetching complexity until it’s too late. Many projects begin innocently with useEffect() and fetch() sprinkled across components. Before you know it, the growing tangle of error handlers, loading states, memoization, and caching logic turns your code into a debugging nightmare.

Full article

RSC for Astro Developers

Friday, May 09, 2025 Teklinks

Okay, so in Astro you have two things: Astro Components: They have the .astro extension. They execute exclusively on the server or during the build. In other words, their code is never shipped to the client.

Full article

May 8, 2025

Categorize Your Dependencies

Thursday, May 08, 2025 Teklinks

When building a project, it’s very likely that we will install third-party packages from npm to offload some tasks. On that topic, we know there are two major types of dependencies: dependencies (prod) and devDependencies (dev). In our package.json, it might look something like this:

Full article