Welcome to my PinkLetter. A short, weekly, technology-agnostic, and pink newsletter where we cultivate timeless skills about web development.
How many hours a day do you work?
I say that limiting work to 4 hours a day will make you more productive. But it won’t be simple nor pleasurable.
Give stealth part-time a try.
But please don’t get fired!
Deciding how to break a component into sub-components isn’t easy and is a challenge that isn’t specific to React. This is fortunate since it means we can go outside React’s ecosystem and get some ideas on how to do it.
In this article, I’ll present a guideline to validate ideas on splitting a React component to increase code reuse and reduce maintenance costs. This guideline comes from the paper “Designing Software for Ease of Extension and Contraction” written in 1979 by David Parnas.
How can we “fingerprint” a codebase to see its structure at a glance? Let’s explore ways to automatically visualize a GitHub repo, and how that could be useful.
You’ve optimized all of your code, but your site still loads too slowly. Who’s the culprit?
Often, performance problems slowing pages down are due to third-party scripts: ads, analytics, trackers, social-media buttons, and so on.
Third-party scripts provide a wide range of useful functionality, making the web more dynamic, interactive, and interconnected. These scripts may be crucial to your website’s functionality or revenue stream. But third-party scripts also come with many risks that should be taken into consideration to minimize their impact while still providing value.