tech/webdev magazine

January 31, 2024

Bottleneck #06: Onboarding

Wednesday, January 31, 2024 Teklinks

Onboarding; Too long for new hires to reach full effectiveness This article is part of the series: Bottlenecks of Scaleups Contents How did you get into the bottleneck? Signs you are approaching a scaling bottleneck How do you get out of the bottleneck? How did you get into the bottleneck? A growi

Full article

January 30, 2024

Next.js App Router migration: the good, bad, and ugly

Tuesday, January 30, 2024 Teklinks

Last year, we rebuilt the Flightcontrol dashboard from scratch with Next.js App Router. The old dashboard was built with Next.js Pages Router. The old dashboard did the job, but the UI was designed by me, an engineer, and felt too much like a prototype.

Full article

The zen of state in Solid.js

Tuesday, January 30, 2024 Teklinks

Solid.js is a frontend framework that is known for its superficial similarities and otherwise vast differences to react. One of its best parts is its signals-based state management. Signals are the simplest unit of state in Solid.js.

Full article

People like me are why you shouldn't run a hosting company

Tuesday, January 30, 2024 Teklinks

Did you know Vercel limits URLs to 14kb? I know because I'm awful 😂 For the past few weeks I've been updating my Swiz CMS as an excuse to explore NextJS 14, the app router, and React Server Components. My goal was to avoid client-side API calls.

Full article

January 29, 2024

Prop drilling and component composition in React

Monday, January 29, 2024 Teklinks

Let’s say we have this UI structure. The navigation is dynamic. The Sidebar receives the data from the server and renders navigation based on this data. We need to map this data to our components (NavList, NavItem, SubNavList, SubNavItem). One way of doing this is to let the components render each other and pass the data along the way.

Full article

How to Use React Dev Tools – With Example Code and Videos

Monday, January 29, 2024 Teklinks

When you're working on a React project, one of the easiest ways to debug your code is using the React Dev Tools. React Dev Tools is an extension created by the React team. It enables developers to debug their code inside their Developer Tools. Once you add the extension, you will get 2 new tabs in DevTools called Components and Profiler, respectively.

Full article

Forming an Architecture Modernization Enabling Team (AMET)

Monday, January 29, 2024 Teklinks

I co-authored this article with Nick Tune (article on Nick’s blog) based on our experiences and learnings from working together with clients on architecture modernization initiatives. This is the second article of a series on Architecture Modernization Enabling Teams (AMETs).

Full article

January 26, 2024

Derivations in Reactivity

Friday, January 26, 2024 Teklinks

We will be using pseudocode not to cater to the syntax of a specific library or framework. It doesn't take much to understand that when I update this state an event happens that calls my side effect. It also isn't too difficult to implement this behavior yourself.

Full article

Leaderless Replication In Distributed System

Friday, January 26, 2024 Teklinks

In our last article, we explored the structured worlds of single-leader and multi-leader replication, along with their unique challenges. Today, we’re turning the page to a different chapter: leaderless replication. This approach marks a significant departure from traditional models.

Full article

January 24, 2024

How to Validate Forms with Zod and React-Hook-Form

Wednesday, January 24, 2024 Teklinks

Forms allow you to collect user data on your websites and apps. And validation is essential to guarantee type safety and the proper format for collected data. You can perform validation on both the client and server side of the application.

Full article

Stable Diffusion WebUI AUTOMATIC1111: A Beginner’s Guide

Wednesday, January 24, 2024 Teklinks

Stable Diffusion web UI (AUTOMATIC1111 or A1111 for short) is the de facto GUI for advanced users. Thanks to the passionate community, most new features come to this free Stable Diffusion GUI first. But it is not the easiest software to use. Documentation is lacking.

Full article

January 22, 2024

Rebuilding Netflix Video Processing Pipeline with Microservices

Monday, January 22, 2024 Teklinks

This is the first blog in a multi-part series on how Netflix rebuilt its video processing pipeline with microservices, so we can maintain our rapid pace of innovation and continuously improve the system for member streaming and studio operations. This introductory blog focuses on an overview of our journey. Future blogs will provide deeper dives into each service, sharing insights and lessons learned from this process.

Full article

How to lead a team of senior engineers

Monday, January 22, 2024 Teklinks

One of the responsibilities of engineering leader is to support their teammates with self-development. Growing a high-performing team with knowledgeable and experienced engineers should be the ultimate goal for a manager.

Full article

Continuous Integration

Monday, January 22, 2024 Teklinks

Continuous Integration is a software development practice where members of a team integrate their work frequently, usually each person integrates at least daily - leading to multiple integrations per day.

Full article

January 20, 2024

Top Front-End Tools Of 2023

Saturday, January 20, 2024 Teklinks

Over the past 12 months, I’ve shared hundreds of tools in my newsletter, Web Tools Weekly. I feature tons of practical libraries, helpers, and other useful things for front-end and full-stack developers. These tools span numerous categories, including JavaScript libraries and utilities, web frameworks, CSS generators, database tools, React components, CLI tools, and even ChatGPT and AI-based tools, the latter of which I’ve started covering regularly over the past year.

Full article

Common mistakes with the Next.js App Router and how to fix them

Saturday, January 20, 2024 Teklinks

After talking to hundreds of developers and looking at thousands of Next.js repositories, I've noticed ten common mistakes when building with the Next.js App Router. This post will share why these mistakes can happen, how to fix them, and some tips to help you understand the new App Router model.

Full article

16 Lesser Known Accessibility Issues

Saturday, January 20, 2024 Teklinks

We’ve been building a bi-lingual application for a public sector organisation in Wales. As part of the process we partnered with the Digital Accessibility Centre (DAC) to audit our code.

Full article

January 18, 2024

The Query Options API

Thursday, January 18, 2024 Teklinks

React Query version 5 was released about three months ago, and with it, we got one of the biggest "breaking" changes in the library's history. All of our functions now only get one object passed, instead of multiple arguments. We call this object the Now technically, this API isn't new.

Full article

Guarding JS Objects with Proxy

Thursday, January 18, 2024 Teklinks

A guard's job is to protect something or someone and intercept potential interactions with the thing they guard. Here, we'll talk about a guard whose job is to protect a JavaScript object! And using this guard is free! Well, kind of.. let's get into it.

Full article

January 17, 2024

The tech layoffs continue

Wednesday, January 17, 2024 Teklinks

A quarter of a million tech workers were laid off last year from the likes of Google, Amazon, Meta, Microsoft, and thousands of other big and small companies in the industry. And it looks like this year is not going to bring any relief.

Full article

Kind of annoyed at React

Wednesday, January 17, 2024 Teklinks

I’m kind of annoyed at the state of React lately. I still use it regularly, and am somewhat friendly with the folks that work on it still, and it’s the first library I reach for, but… it’s just gotten too confusing and frustrating. Not to boast but I like… really know React.

Full article

January 15, 2024

Explore near Real-time Streaming Data Using a Web UI

Monday, January 15, 2024 Teklinks

By: Ryan Lacerna, Vishnu Shankar, Istvan Megyeri, Dimple Verma, Zhiying Gao, Chris Savio, Connor Culleton, Lukasz Krawiec, Amit Kumar Data is critical. At Expedia Group, data enables us to understand our customers, optimise our operations, and make strategic decisions.

Full article

Shopping for speed on eBay.com

Monday, January 15, 2024 Teklinks

Optimizing the performance of eBay’s sites and apps for a faster user experience. Speed was a company-wide initiative for eBay starting in 2019, with many teams determined to make the site and apps as fast as possible for users.

Full article

5 Inconvenient Truths about TypeScript

Monday, January 15, 2024 Teklinks

I’m writing books about TypeScript and I do workshops and trainings online and in-house. Every time I meet a new group of developers there are some TypeScript facts that they need to be confronted with:

Full article

January 12, 2024

The Perfect Webpage

Friday, January 12, 2024 Teklinks

As the 14th season of Bravo’s Real Housewives of New York City came to a close this fall, I found myself on Reddit, reading rumors about the marriage and divorce timeline of one of the show’s stars.

Full article

How Lee Robinson created his Guestbook, and you can do it too

Friday, January 12, 2024 Teklinks

Building full-stack web apps used to be a complex task. But then came Next.js, a game-changer for React developers like you and me. This powerful framework from Vercel makes full-stack development very easy. Let's build a guestbook app together to see the process in action using the Vercel stack.

Full article

If you want to address tech debt, quantify it first

Friday, January 12, 2024 Teklinks

When Ward Cunningham coined the technical debt metaphor, he needed a way to discuss the decisions made early in a project that were coming back to haunt his engineers as they continued building down the line. He was at a firm doing financial software, so a fiscal metaphor was in order.

Full article

January 11, 2024

The Website vs. Web App Dichotomy Doesn't Exist

Thursday, January 11, 2024 Teklinks

You don’t need to wade far into web development discourse to hear about the website vs. web app dichotomy. It posits that websites can be grouped into two categories: mostly static “documents” with little user interaction beyond following links, and “applications” that involve rich dynamic behavior. Usually, people invoke it to talk about the use, abuse or avoidance of JavaScript frameworks.

Full article

Thoughts on Remix

Thursday, January 11, 2024 Teklinks

What we like about Remix # The docs are easy to navigate and extensive, spanning high-level discussions on the various approaches and tradeoffs for building modern web applications, API documentation, and topic/objective-based guides.

Full article

Enhancing Performance with React Query's Caching

Thursday, January 11, 2024 Teklinks

Adding caching helps get better performance, and this article shows how the React Query library can help with this by properly using the cacheTime and staleTime parameters. Discover how at OpenReplay.com.

Full article

January 10, 2024

Frontend predictions for 2024

Wednesday, January 10, 2024 Teklinks

It's been a remarkable year for frontend. We've seen a gold rush to capture – and invent – the server-side rendering (SSR) market; the advancing tentacles of AI; a Cambrian explosion of web renderers and JS engines; a formidable line of hopefuls attempting to unseat the big names from their pedestals; and movements on various other fronts.

Full article

Module Federation gets upgraded, and Rspack supports it.

Wednesday, January 10, 2024 Teklinks

Its a double whammy release for the Module Federation universe. Four years after its creation, it gets a major upgrade. The support of Module Federation in Rspack opens up a several of creative migration options to speed up bundler tools by sharing code at runtime.

Full article

The Complete Playwright Cheatsheet

Wednesday, January 10, 2024 Teklinks

Playwright is a Node.js library for cross-browser end-to-end testing. It enables reliable testing across Chromium, Firefox and WebKit. Playwright supports 3 browser types - chromium, firefox and webkit. Browser instances can be created as:

Full article

January 8, 2024

Performance Optimization with React 18 Concurrent Rendering

Monday, January 08, 2024 Teklinks

Concurrent rendering is one of the most exciting new features of React 18, and as such, it’s often discussed in the React community. Still, while it’s most frequently described as a great tool for performance optimization, we should implement it with some caution.

Full article

Knowledge is cheap

Monday, January 08, 2024 Teklinks

As a self-employed software engineer, I frequently transition between projects and companies, each requiring some form of interview process. Typically, my interviews as a freelancer are expected to be a single, more relaxed session.

Full article

January 6, 2024

When "Everything" Becomes Too Much: The npm Package Chaos of 2024

Saturday, January 06, 2024 Teklinks

Happy 2024, folks! Just when we thought we'd seen it all, an npm user named PatrickJS, aka The everything package and its 3,000+ sub-packages have caused a Denial of Service (DOS) for anyone who installs it. We're talking about storage space running out and system resource exhaustion.

Full article

January 5, 2024

The Two Reacts

Friday, January 05, 2024 Teklinks

Suppose I want to display something on your screen. Whether I want to display a web page like this blog post, an interactive web app, or even a native app that you might download from some app store, at least two devices must be involved. Your device and mine.

Full article

Is software getting worse?

Friday, January 05, 2024 Teklinks

[Ed. note: While we take some time to rest up over the holidays and prepare for next year, we are re-publishing our top ten posts for the year. Please enjoy our favorite work this year and we’ll see you in 2024.] I recently stumbled upon “Software disenchantment,” a post by Nikita Prokopov.

Full article

Stop saying “technical debt”

Friday, January 05, 2024 Teklinks

Everyone who says "tech debt" assumes they know what we’re all talking about, but their individual definitions differ quite a bit. We were supposed to release this feature three weeks ago.

Full article

January 2, 2024

v3 is out!

Tuesday, January 02, 2024 Teklinks

For most developers, upgrading won’t require any changes. For some, it will be pretty trivial. However, the release brings tons of good stuff, so for the starter, here’s a quick overview of the most notable changes..

Full article

React Server Components: the Good, the Bad, and the Ugly

Tuesday, January 02, 2024 Teklinks

React Server Components bring server-exclusive capabilities to React. I’ve been using this new paradigm within Next.js 13 and 14, and what follows is my honest assessment of it1. I debated not publishing this post because of the way the React community has historically handled criticism.

Full article