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

How Node.js Works Behind the Scenes

Thursday, May 08, 2025 Teklinks

If you know how JavaScript works behind the scenes in the browser environment (I highly recommend you check this 15-minute read article if you don't know), it's relatively easier to understand unlike Node.js. It doesn't have a bunch of phases or so on. But why does Node.

Full article

Frontend's Next Evolution: AI-Powered State Management

Thursday, May 08, 2025 Teklinks

If you’ve built a frontend application in the past five years, you’ve probably had a moment where you stared at your state management setup and thought, “Why is this so unnecessarily complicated?” Between prop drilling, context hell, reducer bloat and the never-ending debate

Full article

May 6, 2025

Building An Offline-Friendly Image Upload System

Tuesday, May 06, 2025 Teklinks

Poor internet connectivity doesn’t have to mean poor UX. With PWA technologies like IndexedDB, service workers, and the Background Sync API, you can build an offline-friendly image upload system that queues uploads and retries them automatically — so your users can upload stress-free, even when offline.

Full article

The Hidden Cost of AI Coding

Tuesday, May 06, 2025 Teklinks

“The best moments in our lives are not the passive, receptive, relaxing times… The best moments usually occur if a person’s body or mind is stretched to its limits in a voluntary effort to accomplish something difficult and worthwhile.

Full article

May 4, 2025

Best Practices for reducing lag in Expo apps

Sunday, May 04, 2025 Teklinks

When you build a native app, all application code typically runs on the main/UI thread by default. When you experience lag, the best way to reduce it is to offload business logic—such as computation and networking—from the main thread to multiple background threads.

Full article

Good vs Great Animations

Sunday, May 04, 2025 Teklinks

We all want our UIs to feel great and animations can definitely help with that. But how do you actually create a great animation? This article is a collection of practical tips to help you go from good to great animations.

Full article

Tailwind vs Linaria: Performance Investigation

Sunday, May 04, 2025 Teklinks

What's your position on Tailwind? Love or hate? Seems to be no in-between for that one. Even if you've never used it, you probably heard of it by now. It's the second most popular UI framework out there after all, and the source of lots of hype in certain corners of the internet.

Full article

April 30, 2025

Avoiding Skill Atrophy in the Age of AI

Wednesday, April 30, 2025 Teklinks

The rise of AI assistants in coding has sparked a paradox: we may be increasing productivity, but at risk of losing our edge to skill atrophy if we’re not careful. Skill atrophy refers to the decline or loss of skills over time due to lack of use or practice.

Full article

Add JSR packages with pnpm and Yarn

Wednesday, April 30, 2025 Teklinks

We’re excited to announce that you can now install JSR packages directly using both pnpm and Yarn! Not only can you access JSR packages via pnpm and yarn, but you can also install any npm packages with a JSR dependency.

Full article

What Is llms.txt, and Should You Care About It?

Wednesday, April 30, 2025 Teklinks

But what exactly is llms.txt, who’s using it, and—more importantly—should you care? llms.txt is a proposed standard for helping LLMs access and interpret structured content from websites. You can read the full proposal on llmstext.org.

Full article

April 29, 2025

Reproducing Hacker News writing style fingerprinting

Tuesday, April 29, 2025 Teklinks

About three years ago I saw a quite curious and interesting post on Hacker News. A student, Christopher Tarry, was able to use cosine similarity against a vector of top words frequencies in comments, in order to detect similar HN accounts — and, sometimes, even accounts actually controlled by the same user, that is, fake accounts used to uncover the identity of the writer.

Full article

Engineering teams need to adapt to AI’s scaling challenges

Tuesday, April 29, 2025 Teklinks

AI is not a linear process. To scale effectively, engineering leaders must account for varied edge cases, presenting a new set of challenges. AI offers huge wins for engineering teams, but almost as many headaches along the path to successful implementations.

Full article

April 25, 2025

React.js AI Chat with OpenAI API

Friday, April 25, 2025 Teklinks

In this tutorial, you'll build a simple AI chat app using React.js on Next.js and the OpenAI API. You'll learn how to set up an API route to send prompts to OpenAI and build a frontend that displays the conversation in real time.

Full article

The good times in tech are over

Friday, April 25, 2025 Teklinks

For most of the last decade, being a software engineer has been a lot of fun. Every company offered lots of perks, layoffs and firings were almost unheard of, and in general we were treated as special little geniuses who needed to be pampered so we could work our magic.

Full article

April 24, 2025

Advanced React in the Wild

Thursday, April 24, 2025 Teklinks

React and Next.js have powered some of the web’s most ambitious projects in the last few years. In this period, teams have pushed the envelope on performance (achieving dramatic gains in Core Web Vitals like LCP and the new INP metric), balanced server-side and client-side rendering trade-offs, devised clever caching and state management schemes, and improved both developer and user experience.

Full article

How to exclude commits from git blame

Thursday, April 24, 2025 Teklinks

After ten years of being a vivid space user, I decided to move all my projects to tabs. 😲 I applied this change to this blog's repository, and a problem came to light. If you change the formatting of hundreds of files, you're messing with your Git history. git blame becomes pretty useless.

Full article

April 23, 2025

JSX Over The Wire

Wednesday, April 23, 2025 Teklinks

REST (or, rather, how REST is broadly used) encourages you to think in terms of Resources rather than Models or ViewModels. At first, your Resources start out as mirroring Models. But a single Model rarely has enough data for a screen, so you develop ad-hoc conventions for nesting Models in a Resource. However, including all the relevant Models (e.g. all Likes of a Post) is often impossible or impractical, so you start adding ViewModel-ish fields like friendLikes to your Resources.

Full article

AI Index 2025: State of AI in 10 Charts

Wednesday, April 23, 2025 Teklinks

Small models get better, regulation moves to the states, and more. The new AI Index Report shows a maturing field, improvements in AI optimization, and a growing saturation of use - and abuse - of this technology.

Full article

April 22, 2025

How to Build an Agent

Tuesday, April 22, 2025 Teklinks

It’s not that hard to build a fully functioning, code-editing agent. It seems like it would be. When you look at an agent editing files, running commands, wriggling itself out of errors, retrying different strategies - it seems like there has to be a secret behind it.

Full article

Avoid the State Synchronization Trap

Tuesday, April 22, 2025 Teklinks

This post is about a bad code pattern I see quite often. It’s about state management, particularly state synchronization. Often it is a source of bugs, glitches, and performance problems. Usually it is solvable by adjusting the state shape.

Full article

April 21, 2025

The new Cookie Store API

Monday, April 21, 2025 Teklinks

Historically, in a browser, programmatic access to cookies has revolved around the document.cookie API, which is simply a string getter/setter. To read a single cookie from that string, you must parse the whole string into a structured format.

Full article

Why does JSON have commas?

Monday, April 21, 2025 Teklinks

As it happens, I already wrote a post on why Commas are Bad. We did not arrive at any specific conclusion apart from commas maybe being worth rethinking and replacing with some other things. Among all the languages and formats that could do with fewer of them...

Full article

Chopped: AI Edition - Building a Meal Planner

Monday, April 21, 2025 Teklinks

As a dad of two toddlers with very particular tastes—one constantly wants treats for dinner and the other refuses anything that isn’t beige—I view dinnertime at my house as a nightly episode of “Chopped: Toddler Edition.

Full article

April 17, 2025

Fastify + React is 7x Faster than Next.js April 9, 2025

Thursday, April 17, 2025 Teklinks

Remember the SSR Performance Showdown? And Theo's coverage of it? Now that @fastify/vue and @fastify/react reached 1.0.0, it's time for a revisit. Especially because we didn't test metaframeworks back then. We were just looking at the raw performance of frontend frameworks. Now, how do Vue and React fare when used in Fastify, Nuxt and Next? Let's find out.

Full article

Open-source AI: Are younger developers leading the way?

Thursday, April 17, 2025 Teklinks

In March, over 1,000 developers and technologists gave us insights into what they think about open source and the role it plays with AI. The emergence of powerful and cost-effective open-source models has intensified the debate between open-source and proprietary AI.

Full article

Tauri vs. Electron: performance, bundle size, and the real trade-offs

Thursday, April 17, 2025 Teklinks

At Hopp, we're building a cross-platform remote control application designed for a low-latency remote pair programming experience. Providing the best possible user experience is our top priority. Early in the development journey, the decision came to use either Tauri or Electron to build the app.

Full article

April 16, 2025

Tech hiring: is this an inflection point?

Wednesday, April 16, 2025 Teklinks

It is easy to assume that hiring solid engineers has never been simpler because fewer businesses are posting jobs and more engineers are competing for roles. But I’ve been talking with engineering managers, directors, and heads of engineering at startups and mid-sized companies, and got a surprise: they say the opposite is true! In fact, many report that in 2025 they find it harder to hire than ever. This seems like a contradiction worth digging into, so that’s what we’re doing today, covering..

Full article

Using GenAI as a learning tool, not a crutch

Wednesday, April 16, 2025 Teklinks

AI is changing how we think about coding. While tools evolve, critical thinking, problem-solving, and creativity remain the essential skills for top developers. GenAI is fast changing the modus operandi of software development.

Full article

April 15, 2025

Event versioning strategies for event-driven architectures

Tuesday, April 15, 2025 Teklinks

Synchronous API integrations create temporal coupling [1] between two services based on their respective availability. This is a tighter form of coupling and often necessitates techniques such as retries, exponential delay and fallbacks to compensate.

Full article

The Software Engineering Identity Crisis

Tuesday, April 15, 2025 Teklinks

Many of us became software engineers because we found our identity in building things. Not managing things. Not overseeing things. Building things. With our own hands, our own minds, our own code. But that identity is being challenged.

Full article

Cursor for Large Projects

Tuesday, April 15, 2025 Teklinks

There is a misconception that Cursor and Claude are just for prototypes. While this combo is great at writing new code, it’s also very effective at structuring code, standardizing, refactoring, and maintaining large projects. It’s super exciting since you can build software 5-30x faster.

Full article

April 14, 2025

React for Two Computers

Monday, April 14, 2025 Teklinks

I’ve been trying to write this post at least a dozen times. I don’t mean this figuratively; at one point, I literally had a desktop folder with a dozen abandoned drafts.

Full article

April 12, 2025

More accurate DevTools performance debugging using real-world data

Saturday, April 12, 2025 Teklinks

Fixing performance issues in the real world means bridging the gap between your development environment and the diverse performance experiences of your users. In this post, we'll look at new features in Chrome DevTools that help you base more of your performance debugging decisions on real data rather than guesswork.

Full article

Cover Flow with Modern CSS: Scroll-Driven Animations in Action

Saturday, April 12, 2025 Teklinks

Cover Flow – the iconic carousel of tilted album covers made famous by Apple in the late 2000s – remains a visually striking UI pattern. Originally seen in iTunes and Mac OS X Finder, Cover Flow let users flip through items as if browsing a tangible collection.

Full article

April 10, 2025

Copilot code review now generally available

Thursday, April 10, 2025 Teklinks

Anthropic Claude 3.7 Sonnet, Claude 3.5 Sonnet, OpenAI o3-mini, and Google Gemini Flash 2.0 are now generally available in GitHub Copilot. With this change, these models are promoted from preview release terms to generally available release terms.

Full article

What Agentic Workflows Mean to Microservices Developers

Thursday, April 10, 2025 Teklinks

Microservices changed how we build software by breaking systems into composable, independently deployable units. But as systems scale, so does the cognitive and operational load on developers — tracking dependencies, debugging across services, and managing deployments.

Full article