TLDR Web Dev

TLDR WEB DEV 2025-08-12

5 sections16 entrieslinks blockcomplete parse

Parse notes

  • Subscription/account footer truncated before parsefooter_truncated

01ARTICLES & TUTORIALS

REACT QUERY SELECTORS, SUPERCHARGED

The `select` option in React Query allows for fine-grained subscriptions to specific parts of data fetched from an API. Using `select` prevents unnecessary re-renders by subscribing components only to the data they need, improving performance. For computationally expensive `select` functions, `useCallback` should be used for stable references and libraries like `fast-memoize` for memoization.

tkdodo.eu6 min read

HOW WE REPLACED ELASTICSEARCH AND MONGODB WITH RUST AND ROCKSDB

Radar, a geolocation infrastructure company, replaced its Elasticsearch and MongoDB setup with HorizonDB, a new geospatial database written in Rust. This change was due to the high costs and operational complexities of the previous system. HorizonDB was built using technologies like RocksDB and S2, and it improved performance, scalability, and developer experience.

radar.com8 min read

NEXT.JS MIGRATION - CHANGELOG

The LLM Gateway team migrated from TanStack Start (alpha version) to Next.js and saw performance improvements, including perfect Lighthouse scores for Performance and SEO (both jumping to 100), and a Speed Index improvement from 2.4s to 1.1s. The switch was motivated by Next.js' better built-in optimizations, simpler development model, edge compatibility, and better system resource efficiency with more stable CPU and memory usage.

llmgateway.io2 min read

02OPINIONS & ADVICE

CLAUDE IS THE DRUG, CURSOR IS THE DEALER

Many AI startups are essentially distributors ("dealers") for the models created by larger AI labs ("chemists") like OpenAI and Anthropic. These startups, despite high valuations and user growth, don't control the core product or supply chain, making them vulnerable. There are two possible futures: either the labs will go direct, cutting out the wrappers, or models will become commoditized, allowing the wrappers to thrive.

middlelayer.substack.com4 min read

RUST, PYTHON, AND TYPESCRIPT: THE NEW TRIFECTA

Rust, Python, and TypeScript will become the dominant programming languages as AI-powered coding tools shift language selection from tribal loyalty to practical fundamentals. This new "idea-oriented programming" paradigm has the programmer as chief architect while AI handles implementation, making strong type systems, healthy ecosystems, and good package managers more important than syntax preferences. These three languages perform well in their respective domains (Rust for performance, Python for ML/data science, and TypeScript for web).

smallcultfollowing.com8 min read

THE VALUE OF INSTITUTIONAL MEMORY

Institutional memory is important, and there are often negative consequences that come up when organizations forget crucial information or processes. For example, in history, the Chesterfield Canal disaster, Volkswagen's emissions scandals, and the Space Shuttle explosions show how a lack of institutional memory can lead to costly mistakes and tragedies. Forgetting can occur due to employee turnover, technological obsolescence, deliberate deletion, or simply a decline in activity leading to skill atrophy.

timharford.com7 min read

03LAUNCHES & TOOLS

V0.DEV -> V0.APP

v0.dev is now v0.app, an AI-powered platform that allows anyone to create and deploy fully functional applications with a single prompt. This new version uses agentic AI, enabling it to research, reason, debug, plan, and handle complex app development tasks autonomously.

vercel.com2 min read

PANDA

Panda is a universal and type-safe CSS-in-JS framework for web dev. It allows writing styles using style objects or props that are extracted at build time, generating modern CSS with features like cascade layers and CSS variables. Panda supports various JavaScript frameworks and has recipes, variants, design tokens, and type-safe styling.

github.comGitHub repository

FORESIGHTJS

ForesightJS is a lightweight JavaScript library designed to predict user intent and prefetch content for improved perceived speed on both desktop and mobile devices. It uses strategies like mouse trajectory prediction, keyboard navigation tracking, and viewport enter detection.

github.comGitHub repository

04MISCELLANEOUS

FUTURE AI BILLS OF $100K/YR PER DEV

AI coding tools are rising in cost due to constant token prices and increased token consumption. The industry's initial assumption of decreasing costs has been wrong, leading to throttling on paid plans like Cursor's. Kilo, along with other open-source tools like Cline and Roo, try to mitigate these costs by offering users more control and cost-saving features.

blog.kilocode.ai6 min read

LINEAR SENT ME DOWN A LOCAL-FIRST RABBIT HOLE

Linear, a project management tool, is fast because it's local-first. There are various production-ready local-first solutions for building something like this, like Electric SQL, PowerSync, and Jazz. Despite the trade-offs of blind servers, permanent data storage, and local development quirks, the author found Jazz to be impressive and productive, and plans to explore Electric SQL and Zero more.

bytemash.net9 min read