tech/webdev magazine

February 17, 2025

From Rust to TypeScript: A New Chapter for Prisma ORM

Monday, February 17, 2025 Teklinks

The Prisma query engine, written in Rust, has always been a core part of Prisma ORM. It was developed for the future, but is no longer compatible with Prisma ORM’s current direction. Read on to learn more about our rewrite from Rust to TypeScript.

Full article

February 14, 2025

Move on to ESM-only

Friday, February 14, 2025 Teklinks

Three years ago, I wrote a post about shipping ESM & CJS in a single package, advocating for dual CJS/ESM formats to ease user migration and trying to make the best of both worlds.

Full article

February 13, 2025

Things people get wrong about Electron

Thursday, February 13, 2025 Teklinks

I dedicated years bringing web technologies and desktop apps closer together. The most recent and most successful project in that vein is Electron, which I've spent the last ten years working on.

Full article

Building a semantic movie search demo with pgvector and Next.js

Thursday, February 13, 2025 Teklinks

If you are having trouble keeping up with recent developments in AI, you’re not alone. So many things are happening so quickly at the same time, it’s easy to miss how cool each individual innovation is. One of them I want to talk about today is vector embeddings. 1

Full article

Monorepos in JavaScript & TypeScript

Thursday, February 13, 2025 Teklinks

This is a comprehensive tutorial on Monorepos in JavaScript/TypeScript --- which is using state of the art tools for these kind of architectures in frontend applications. You will learn about the following topics from this tutorial:

Full article

February 12, 2025

Tutorial: publishing ESM-based npm packages with TypeScript

Wednesday, February 12, 2025 Teklinks

During the last two years, ESM support in TypeScript, Node.js and browsers has made a lot of progress. In this blog post, I explain my modern setup that is relatively simple – compared to what we had to do in the past: Feedback welcome: What do you do differently? What can be improved?

Full article

February 11, 2025

February 10, 2025

Software Design: What went wrong?

Monday, February 10, 2025 Teklinks

Software Design should be a developer’s bread and butter. Changing how we talk about software under development is the start of building better software systems. We must stop calling everything architecture, make design more accessible, and resist the urge of focusing on technology.

Full article

Vite with TypeScript

Monday, February 10, 2025 Teklinks

A brief walkthrough on how to upgrade Vite from JavaScript to TypeScript. The tutorial assumes that you have already created a React project with Vite in JavaScript. To use TypeScript in React (with Vite), install TypeScript and its dependencies into your application using the command line:

Full article

Differences between ESLint and TypeScript

Monday, February 10, 2025 Teklinks

If you’re a JavaScript developer today, there’s a good chance you’re using a combination of ESLint and TypeScript to assist development. These tools perform similar but different functions. ESLint is a linter, whereas TypeScript is a type checker.

Full article

Announcing ES Module Shims 2.0

Monday, February 10, 2025 Teklinks

ES Module Shims 2.0 is now live, a comprehensive 13KB polyfill for import maps, multiple import maps, CSS & JSON imports, Wasm modules and Source Phase imports.

Full article

The Principles of Durable Execution Explained

Monday, February 10, 2025 Teklinks

Long-running jobs, complex workflows, distributed systems, and DAGs are difficult to manage. They often involve managing asynchronous, stateful, and fault-tolerant processes that operate at a large scale. Developers face many challenges when working with these systems.

Full article

February 8, 2025

React Query - The Bad Parts

Saturday, February 08, 2025 Teklinks

... React Query is just great ❤️. I think it's really loved by the community for providing a great Developer Experience and User Experience alike. Now I know that's a bold claim, but I have brought some data to back that up:

Full article

February 7, 2025

Epoch Semantic Versioning

Friday, February 07, 2025 Teklinks

People often assume that a zero-major version indicates that the software is not ready for production. However, all of the projects mentioned here are quite stable and production-ready, used by millions of projects. Why? - I bet that’s your question reading this.

Full article

Oracle justified its JavaScript trademark with Node.js—now it wants that ignored

Friday, February 07, 2025 Teklinks

Yesterday, Oracle filed a motion to dismiss in response to Deno’s petition to cancel its “JavaScript” trademark. But instead of addressing the real issue—that JavaScript is an open standard with multiple independent implementations—Oracle is trying to stall the process and sidestep accountability.

Full article

How engineering teams can thrive in 2025

Friday, February 07, 2025 Teklinks

In 2025, forward-thinking engineering teams are reshaping their approach to work, combining emerging technologies with new approaches to collaboration. Successful teams are leaning into AI-powered engineering while rethinking their role in an AI-enhanced business world.

Full article

February 6, 2025

How long is a second in JavaScript?

Thursday, February 06, 2025 Teklinks

When you ask the question "How long is a second in JavaScript?", it seems like a straightforward query. However, the answer reveals layers of complexity intertwined with history, science, and the foundations of modern computing.

Full article

February 4, 2025

The Speed Trifecta: 11ty, Brotli 11, and CSS Fingerprinting

Tuesday, February 04, 2025 Teklinks

In the first post I look at how I've automated CSS fingerprinting on production (Cloudflare), resulting in the ability to use long-life Cache-Control directives like max-age=31536000 and the immutable browser hint. In the second post, I look at how you can improve Brotli compression by manually compressing your assets to Brotli setting 11 (max) then serving them via a Cloudflare Pro plan.

Full article

Demystifying DeepSeek

Tuesday, February 04, 2025 Teklinks

There are a number of sophisticated ways in which DeepSeek modified the model architecture, training techniques and data to get the most out of the limited hardware available to them. Let’s now look at these from the bottom up.

Full article

February 2, 2025

JavaScript Temporal is coming

Sunday, February 02, 2025 Teklinks

Implementations of the new JavaScript Temporal object are starting to be shipped in experimental releases of browsers. This is big news for web developers because working with dates and times in JavaScript will be hugely simplified and modernized.

Full article

So, you want to push a web platform feature?

Sunday, February 02, 2025 Teklinks

Over the years, I’ve helped a few folks get into browser development, and tried to encourage many others. In that process, I found myself giving similar advice, again and again. This is my attempt to have somewhere I can send browser-curious folks to.

Full article

Five years of React Native at Shopify

Sunday, February 02, 2025 Teklinks

Five years ago, we announced that React Native (RN) is the future of mobile at Shopify. Today, we are excited to share the progress we've made, lessons learned, and what the future holds. Over the past 5 years, we have migrated all our apps to React Native.

Full article

February 1, 2025

The modern way to write JavaScript servers

Saturday, February 01, 2025 Teklinks

It shows how to create a plain web server and respond with plain text. This the API Node became famous for and it was kinda revolutionary when it came out. These days this call might be abstracted away behind frameworks, but under the hood, this is what they're all doing.

Full article

January 30, 2025

Picking a state management library for a React app used by millions (and why we went with MobX)

Thursday, January 30, 2025 Teklinks

Photoroom is an image editor used by tens of millions of users around the world. As our web app team was crossing 5-developers mark, we found ourselves running into more and more of the same issues: the whole app was rendering too often and we were frequently dealing with an endless list of useEffect dependencies.

Full article

Introducing Swark: Automatic Architecture Diagrams from Code

Thursday, January 30, 2025 Teklinks

Software architecture is hard to get right. Misaligned teams, unclear diagrams, and time-consuming processes often result in frustration and suboptimal design decisions. As engineering teams embrace a decentralized, collaborative approach to architecture, the stakes grow even higher.

Full article

January 28, 2025

Building effective agents

Tuesday, January 28, 2025 Teklinks

Over the past year, we've worked with dozens of teams building large language model (LLM) agents across industries. Consistently, the most successful implementations weren't using complex frameworks or specialized libraries. Instead, they were building with simple, composable patterns.

Full article

January 27, 2025

Become expert in React Query

Monday, January 27, 2025 Teklinks

I've used React Query for a while and built cool things with it. I’m writing this post to my younger self. This post is for people who have already touched React Query, but not leveraged it's full power. If you’ve not worked with yet, go try it out first.

Full article

Stop Using .d.ts Files in TypeScript

Monday, January 27, 2025 Teklinks

Matt Pocock on X, is telling everyone to stop using .d.ts files in your TypeScript projects forever. Here is a tweet from his reinforcing his position: Keep in mind, this is Matt Pocock, the TypeScript wizard, so this post should be taken seriously.

Full article

January 24, 2025

Resolving an unusual wifi issue

Friday, January 24, 2025 Teklinks

Late last year, I started experiencing some unusual intermittent connection issues on my Desktop. In general, I had a stable connection with average latency; however, at (seemingly) random times throughout the week, I would start experiencing sudden 2000ms+ latency spikes every couple of seconds.

Full article

Architecture is a game of constraint satisfaction.

Friday, January 24, 2025 Teklinks

In simple terms, this means that with the technology we can do something that we couldn’t do (or not as well as) before. Although it sounds rather intuitive, this insight has significant implications on our work as architects.

Full article

January 19, 2025

Revealed: React's experimental animations API

Sunday, January 19, 2025 Teklinks

Since its inception over 12(!) years ago, there's been a glaring animation-sized hole in React's API. Over the year its closest competitors like Vue and Svelte have introduced APIs that, while not extensive, still make animations a little easier.

Full article

Five years of React Native at Shopify

Sunday, January 19, 2025 Teklinks

Five years ago, we announced that React Native (RN) is the future of mobile at Shopify. Today, we are excited to share the progress we've made, lessons learned, and what the future holds. Over the past 5 years, we have migrated all our apps to React Native.

Full article

January 15, 2025

Introducing TanStack Start

Wednesday, January 15, 2025 Teklinks

The best way to think about TanStack Start is that it’s a thin server layer atop the TanStack Router we already know and love; that means we don’t lose a single thing from TanStack Router.

Full article

January 14, 2025

Things we learned about LLMs in 2024

Tuesday, January 14, 2025 Teklinks

A lot has happened in the world of Large Language Models over the course of 2024. Here’s a review of things we figured out about the field in the past twelve months, plus my attempt at identifying key themes and pivotal moments. This is a sequel to my review of 2023.

Full article

Refactoring with Codemods to Automate API Changes

Tuesday, January 14, 2025 Teklinks

Refactoring is something developers do all the time—making code easier to understand, maintain, and extend. While IDEs can handle simple refactorings with just a few keystrokes, things get tricky when you need to apply changes across large or distributed codebases, especially those you don’t fully control.

Full article

5 tips to effectively optimize INP in React

Tuesday, January 14, 2025 Teklinks

In this post, let’s consider several optimization techniques for improving Core Web Vitals metrics for sites that are built with React. We are a team of speed consultants from the Czech Republic and in this article we would like to share some experiences from the many front-end performance optimizations we did for our clients.

Full article