TLDR Web Dev

TLDR WEB DEV 2025-04-17

6 sections14 entrieslinks blockcomplete parse

Parse notes

  • Subscription/account footer truncated before parsefooter_truncated

01GENERAL

Sponsored

Bugs sneak out when less than 80% of user flows are tested before shipping. But getting that kind of coverage—and staying there—is hard and pricey for any size team.

qawolf.comSponsor

02ARTICLES & TUTORIALS

MIGRATING 3.7 MILLION LINES OF FLOW CODE TO TYPESCRIPT

Pinterest successfully migrated 3.7 million lines of code from Flow to TypeScript over eight months. The migration used a "big bang" approach using codemods and had three phases: setup, conversion, and integration. Pinterest validated the migration through detailed testing, including daily automated tests, manual testing, and byte-for-byte comparisons of transpiled JavaScript.

medium.com10 min read

MEMOIZING COMPONENTS IN REACT: A CASE FOR USEMEMO

`useMemo` is often a better choice than `React.memo` for optimizing component rendering in React. `useMemo` provides more explicit dependency tracking, makes optimizations visible at the usage site, and has granular control.

gabrielpichot.fr10 min read

03OPINIONS & ADVICE

YOU'RE PROBABLY BREAKING THE LLAMA COMMUNITY LICENSE

Many users and distributors of Meta's Llama models are likely violating the Llama Community License. These violations include failing to prominently display "Built with Llama" on related products/services and not including "Llama" at the beginning of fine-tuned model names.

notes.victor.earth10 min read

04LAUNCHES & TOOLS

CODEX

The OpenAI Codex CLI is an experimental, open-source coding agent for devs who work in the terminal. It provides ChatGPT-like reasoning with the ability to run code and manipulate files.

github.comGitHub repository

INTRODUCING OPENAI O3 AND O4-MINI

OpenAI has new models, o3 and o4-mini, that are more intelligent and efficient than previous versions like o1 and o3-mini. These models also have improved safety features, including a rebuilt safety training data and system-level mitigations.

links.tldrnewsletter.com20 min read

ASTRO 5.7

Astro 5.7 has been released. The Experimental Fonts API allows for easy integration and optimization of fonts from various providers. The stable Sessions API allows for secure server-side storage of user data, supporting type-safety and cookie-less options with various storage drivers. SVG components are now natively supported, allowing direct import and use of SVG files as components within Astro projects.

astro.build8 min read

05MISCELLANEOUS

TRACT POSTMORTEM

Tract was a UK startup trying to address the housing crisis by improving the planning permission process. It explored various business models, including site sourcing, land appraisal, land promotion, and an AI-powered planning document editor, but struggled with a conservative market, complex land promotion, and low willingness to pay. The founders concluded that the British market's limitations made venture-backed disruption difficult and decided to shut down the company and return capital to investors.

buildwithtract.com45 min read

OPENAI IN TALKS TO PAY ABOUT $3 BILLION TO ACQUIRE AI CODING STARTUP WINDSURF

OpenAI is reportedly in discussions to acquire Windsurf, an AI-powered code editor with a VSCode extension, for around $3 billion. Windsurf, a competitor to other AI coding tools like Cursor and offerings from Microsoft and Anthropic, is VC-backed and was recently valued at $2.85 billion.

cnbc.com3 min read