tech/webdev magazine

June 30, 2024

Roadmap to Become an AI Engineer Roadmap

Sunday, June 30, 2024 Teklinks

AI is the new paradigm to build all technology. After establishing how AI Engineer is turning out to be the next big tech role, it’s time to learn how to become one. This post explains: the roadmap one can follow to go from being a Software Engineer to AI Engineer, required skills to become an AI Engineer, sample tools that you should learn to use while developing those skills, the best way to develop those skills.

Full article

Announcing pkg.pr.new

Sunday, June 30, 2024 Teklinks

We’re excited to introduce pkg.pr.new, a GitHub app to get instant preview releases of your packages. It allows your contributors and users to test continuous releases of each commit in your project’s main branches and on every Pull Request! We built pkg.pr.

Full article

The route to better culture? Better managers

Sunday, June 30, 2024 Teklinks

Does your work invoke emotions in you? More than a quarter of the UK workforce say they experience sadness for a lot of the day at work. (The UK is the second highest in the world on this count). It’s devastating to actually pause to take in stat.

Full article

June 29, 2024

New JavaScript Set methods

Saturday, June 29, 2024 Teklinks

New JavaScript Set methods are arriving! Since Firefox 127, these methods are available in most major browser engines, which means you won't need a polyfill to make them work everywhere.

Full article

Migrating to Next.js App Router with zero downtime

Saturday, June 29, 2024 Teklinks

We use Next.js for all of our frontend apps at WorkOS. Recently, there has been a lot of discussion in the community about all of the new technologies that the Next.js App Router offers, such as nested layouts and React Server Components.

Full article

A Rant about Front-end Development

Saturday, June 29, 2024 Teklinks

I am a front-end developer who is FED up about front-end development. If you write front-end, this isn’t about you personally. It’s about how your choices make me angry. Also this is about how my choices have made me angry. Also this is mostly just about choices, the technologies are incidental.

Full article

June 27, 2024

The Many Facets of Coupling

Thursday, June 27, 2024 Teklinks

Coupling is integration's magic word. Loose coupling affords the participants desirable properties like independent variability or operational resilience. However, as pointed out in a recent blog post, coupling isn't binary nor is it a single dimension. So it's time to apply our favorite architect maneuvres—seeing more dimensions and seeing shades of gray—to coupling.

Full article

First Look At ElysiaJS

Thursday, June 27, 2024 Teklinks

Apologies for the absence from Medium for quite a while. I have a got a series of articles, tutorials, reflections and code planned out and I can’t wait to share my journey with you through the series Recently, I had a major breakthrough as a front-end developer.

Full article

June 25, 2024

Mobx Memoizes Components (You don't need React Compiler)

Tuesday, June 25, 2024 Teklinks

If you're using Mobx and React, you might be tempted to use the React Compiler to auto-memoize your components. But you don't need it. Mobx already does this for you. Depending on your use case, it probably uses less memory and is more efficient across multiple components.

Full article

Microservices Vs. Event Driven Plus SA Interview Mistakes

Tuesday, June 25, 2024 Teklinks

The two most prominent architecture patterns are microservices and Event-Driven Architecture (EDA). Let’s examine their differences and implementations, with the architecture diagram below: Traditional microservice is synchronous i.e. the request and response happens on the same invocation.

Full article

June 24, 2024

Experimenting with React Server Components and Vite

Monday, June 24, 2024 Teklinks

React 19 is almost here, and it comes with many new features and quality-of-life improvements. What's special about this release, though, is that for the first time, React is moving to the server in a meaningful way. In this blog post, I'm going to do a deep dive on React's new server features.

Full article

Blazing Fast Websites with Speculation Rules

Monday, June 24, 2024 Teklinks

This post introduces speculation rules, a new web platform feature that allows developers to deliver instant page navigations after the initial page load. There's also a live demo that you can experiment with to see speculation rules in action.

Full article

How to Use Google Sheets as a Database with React and SSR

Monday, June 24, 2024 Teklinks

In this tutorial I’ll be explaining how to use Google Sheets as a database, to store the results of a user poll. I’ve used this Google Sheets approach for a number of marketing campaigns. I chose this method over a more traditional Database solution for one reason: Data retrieval.

Full article

June 22, 2024

Beyond Webpack: esbuild, Vite, Rollup, SWC and Snowpack

Saturday, June 22, 2024 Teklinks

In the course of this investigation, we will be putting webpack to the test and evaluating it on several key parameters. These include the Developer Experience (DX), the range of options and configurations it provides, and the size of the output bundle it generates.

Full article

React 19 and Suspense - A Drama in 3 Acts

Saturday, June 22, 2024 Teklinks

That was quite a roller-coaster last week 🎢. Some things unravelled, some things went down, and in the middle of it: Let me try to break down what happened, in hopefully the right order, and what we can all learn from it. To do that, we have to go back to April this year:

Full article

June 20, 2024

When should you use Zod?

Thursday, June 20, 2024 Teklinks

You're an engineer. You're building something. The thing you're building probably has inputs - points at which data is injected. Here, is the input. It's the thing that tells the program what to do. It's totally unknown at runtime - it might not even exist.

Full article

June 18, 2024

Generative AI Is Not Going To Build Your Engineering Team For You

Tuesday, June 18, 2024 Teklinks

When I was 19 years old, I dropped out of college and moved to San Francisco. I had a job offer in hand to be a Unix sysadmin for Taos Consulting. However, before my first day of work I was lured away to a startup in the city, where I worked as a software engineer on mail subsystems.

Full article

June 17, 2024

How Deep is Your DOM?

Monday, June 17, 2024 Teklinks

If you use Lighthouse to measure your site’s performance, you might have seen the Avoid excessive DOM size warning before. It looks something like this: Lighthouse warns us about large DOM sizes because they increase memory usage and can produce expensive style calculations.

Full article

Optimizing INP for a React App & Performance Learnings

Monday, June 17, 2024 Teklinks

It's been 2 years that I've been working at Vio and since the beginning, I've been working on web performance-related projects. The most notable projects are these: Some work on runtime performance, some on bundle optimizations, and also on the architectural level of our application.

Full article

Zero-JavaScript View Transitions

Monday, June 17, 2024 Teklinks

This is Part 1 of our series on “The Future of Astro” covering three major new features we have planned for Astro in 2024. This post introduces an update to the View Transitions API that Astro can now leverage for native, app-like page navigation without a single line of JavaScript required.

Full article

June 13, 2024

I tried React Compiler today, and guess what... 😉

Thursday, June 13, 2024 Teklinks

This is probably the most clickbaity title I’ve come up with, but I feel like an article about one of the most hyped topics in the React community these days deserves it 😅. For the last two and a half years, after I release any piece of content that mentions patterns related to re-renders and memoization, visitors from the future would descend into the comments section and kindly inform me that all I just said is not relevant anymore because of React Forget (currently known as React Compiler).

Full article

Hacking Millions of Modems (and Investigating Who Hacked My Modem)

Thursday, June 13, 2024 Teklinks

Two years ago, something very strange happened to me while working from my home network. I was exploiting a blind XXE vulnerability that required an external HTTP server to smuggle out files, so I spun up an AWS box and ran a simple Python webserver to receive the traffic from the vulnerable server

Full article

React & Codemod Announcement

Thursday, June 13, 2024 Teklinks

We’re excited to announce that we are partnering with the React team to build and maintain the react-codemod repo, offering open-source codemods to enhance the migration experience for React 19 and beyond.

Full article

June 12, 2024

How To Hack Your Google Lighthouse Scores In 2024

Wednesday, June 12, 2024 Teklinks

Do perfect Lighthouse scores mean the performance of your website is perfect? As it turns out, Lighthouse is influenced by a number of things that can be manipulated and bent to make sites seem more performant than they really are, as Salma Alam-Naylor demonstrates in several experiments.

Full article

June 11, 2024

How To Use Corepack

Tuesday, June 11, 2024 Teklinks

I've just learned about corepack, a tool that bundles with Node.js and solves a bunch of problems with handling package managers. But I'll be using it in my development setup from now on. corepack is bundled with Node.js, and has been since Node.js 14.19. So, if you have Node.js, you have corepack.

Full article

June 7, 2024

Why, after 6 years, I’m over GraphQL

Friday, June 07, 2024 Teklinks

GraphQL is an incredible piece of technology that has captured a lot of mindshare since I first started slinging it in production in 2018. You won’t have to look far back on this (rather inactive) blog to see I have previously championed this technology.

Full article

Improving CI/CD with a Focus on Developer Velocity

Friday, June 07, 2024 Teklinks

When you think of software scalability, what comes to mind? Maybe sharding a database or load-balancing requests over multiple servers. But how often do you think of scaling the process of testing and merging code? 

Full article

June 5, 2024

React Conf 2024 Recap – React

Wednesday, June 05, 2024 Teklinks

Last week we hosted React Conf 2024, a two-day conference in Henderson, Nevada where 700+ attendees gathered in-person to discuss the latest in UI engineering. This was our first in-person conference since 2019, and we were thrilled to be able to bring the community together again.

Full article