Newslurp

<< Stories

Pinterest’s 3.7M-line TypeScript migration πŸ“„, OpenAI Codex πŸ“œ, Astro 5.7 πŸš€

TLDR Web Dev <dan@tldrnewsletter.com>

April 17, 11:18 am

TLDR WebDev
Pinterest successfully migrated 3.7 million lines of code from Flow to TypeScript over eight months. The migration used a "big bang" approach β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ  β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ 

TLDR

Together With QA Wolf

 TLDR Web Dev 2025-04-17

😘 Kiss bugs goodbye with fully automated end-to-end test coverage (Sponsor)

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.

QA Wolf's AI-native service supports web and mobile apps, delivering 80% automated test coverage in weeks and helping teams ship 5x faster by reducing QA cycles to minutes.

With QA Wolf, you get:

βœ… Unlimited parallel test runs

βœ… 15-min QA cycles

βœ… 24-hour maintenance and on-demand test creation

βœ… Zero-flake guarantee

The result? Drata's team of 80+ engineers saw 4x more test cases and 86% faster QA cycles.

No flakes, no delays, just better QA β€” that's QA Wolf.

Schedule a demo to learn more

πŸ§‘β€πŸ’»

Articles & Tutorials

Migrating 3.7 Million Lines of Flow Code to TypeScript (10 minute read)

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.
Memoizing components in React: a case for useMemo (10 minute read)

`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.
🧠

Opinions & Advice

AI tools are ironically way more useful for experienced devs than novices (Reddit Thread)

AI tools are the most useful for experienced devs as a force multiplier. Experienced devs with AI can learn new concepts quicker and overcome knowledge gaps faster, allowing them to work faster with less errors.
You're Probably Breaking the Llama Community License (10 minute read)

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.
πŸš€

Launches & Tools

Codex (GitHub Repo)

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.
Introducing OpenAI o3 and o4-mini (20 minute read)

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.
Astro 5.7 (8 minute read)

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.
🎁

Miscellaneous

Tract Postmortem (45 minute read)

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.
OpenAI in talks to pay about $3 billion to acquire AI coding startup Windsurf (3 minute read)

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.
⚑

Quick Links

Plandex (GitHub Repo)

Plandex is an open-source, terminal-based AI coding agent designed for large, real-world projects with features like smart context management, configurable autonomy, and multi-provider model integration.
TLS Certificate Lifetimes Will Officially Reduce to 47 Days (5 minute read)

The CA/Browser Forum has voted to gradually reduce the maximum lifetime of TLS certificates to 47 days by March 15, 2029.
Herb (Website)

Herb is an HTML-aware Embedded Ruby parsing tool built on Prism, Ruby's official parser.

Love TLDR? Tell your friends and get rewards!

Share your referral link below with friends to get free TLDR swag!
Track your referrals here.

Want to advertise in TLDR? πŸ“°

If your company is interested in reaching an audience of web developers and engineering decision makers, you may want to advertise with us.

Want to work at TLDR? πŸ’Ό

Apply here or send a friend's resume to jobs@tldr.tech and get $1k if we hire them!

If you have any comments or feedback, just respond to this email!

Thanks for reading,
Priyam Mohanty, Jenny Xu & Ceora Ford


Manage your subscriptions to our other newsletters on tech, startups, and programming. Or if TLDR Web Dev isn't for you, please unsubscribe.