TLDR Web Dev 2024-02-22

React trends in 2024 📈, Google open-sources Gemma 🤖, myths junior devs believe  🤔

Articles & Tutorials

React Trends in 2024 (10 minute read)

React has multiple trends in 2024 in various categories. On the UI side, headless libraries with barebones components are gaining popularity along with utility-first CSS like Tailwind CSS. There are multiple emerging frameworks and tools, like Astro for static websites, authentication solutions like Supabase, tRPC for maintaining type safety, and TanStack Router for routing in single-page React apps. Some paradigm shifts that will continue in 2024 are the usage increase of React Server Components, better compilers and bundlers, and a push towards the edge of better performance.

React Labs: What We've Been Working On – February 2024 (8 minute read)

The React Compiler is now in production on Instagram. It automatically re-renders only the necessary parts of a UI upon state changes. The React team has been adding features to React Canary, which allows early adoption of stable features before official release, like Server Components and Actions. Actions in React can handle data submissions in both client-only and client-server apps and it offers features like optimistic updates and form state management.

A Brief History of Airbnb's Architecture (14 minute read)

Airbnb started as a monolithic Ruby-on-Rails application and eventually moved to a Service-Oriented Architecture (SOA). The SOA approach aimed for loosely coupled services with focusing on clear data ownership, specific concerns for each service, and avoiding functionality duplication. Airbnb's migration journey involved multiple iterations, with the final version completely eliminating its monolithic architecture. Pros of SOA include increased reliability and scalability, while cons include increased development time and complexity. Airbnb also uses an in-house API framework, automated canary analysis with Spinnaker, and Powergrid for parallel task execution to support its SOA.
Opinions & Advice

Falsehoods Junior Developers believe about becoming Senior (8 minute read)

Senior developers don’t have all the answers and seniority doesn’t always guarantee job security. Seniors often have a harder time juggling work-life balance and leading projects can be an anxious endeavor. Boring tasks, like meetings, documentation, and code reviews, are part of the deal, as is dealing with legacy code.

The killer app of Gemini Pro 1.5 is video (8 minute read)

Google's new language model, Gemini Pro 1.5, has impressive vision capabilities - it can process video and extract structured content. This author tested the model with videos of bookshelves and was able to get a JSON array of the titles and authors of the books in the videos. While there are limitations, such as safety filters and the model sometimes hallucinating incorrect details, Gemini Pro 1.5’s large context window makes analyzing video much easier compared to other LLMs.

We've been thinking about software integration wrong for the past 50 years (6 minute read)

This article proposes a new approach to software integration called a "Schema Network". Instead of building integrations from scratch using each software’s APIs, Schema Network aims to reuse existing integrations by composing them through a network of apps and integrations. This offers a more efficient, wider coverage of software integrations compared to current methods.
Launches & Tools

Readyset (GitHub Repo)

ReadySet is a transparent database cache for Postgres & MySQL that has the performance and scalability of an in-memory key-value store. It sits between applications and databases and turns complex SQL reads into fast lookups. ReadySet keeps cached query results in sync with databases automatically by utilizing its existing replication stream.

Remix Vite is Now Stable (9 minute read)

Remix has announced the stable release of Remix Vite, which offers various new features and improvements built on top of Vite, including an SPA mode, Cloudflare Pages support, a cleaner build output, and better server/client separation.

iMessage with PQ3: The new state of the art in quantum-secure messaging at scale (16 minute read)

Apple has added PQ3 to iMessage. PQ3 is a new post-quantum cryptographic protocol that offers strong protection against current and future threats from quantum computers. It surpasses the security of all other widely available messaging apps by achieving Level 3 security. PQ3 features post-quantum encryption, a self-healing key mechanism, a hybrid design, and formal verification that ensures security.

Smuggling Malware in Test Code (10 minute read)

A npm package called execution-time-async had malicious code hidden in it that was designed to steal login credentials and passwords from various browsers. The attacker, who has been identified, used various tactics to hide the malicious code, including obfuscation and placing it in a seemingly innocuous test file. They seem to be targeting software developers, possibly through social engineering schemes.

Gemma: Introducing new state-of-the-art open models (3 minute read)

Google has released Gemma, a new family of open-source AI models that competes with LLaMA 2 and Mistral. The Gemma models offer state-of-the-art performance, are optimized for multiple frameworks and hardware, and come with a Responsible Generative AI Toolkit for developers. Free access is available for research and development through Kaggle, Colab, and Google Cloud credits.
Quick Links

Things I Don't Know About AI (9 minute read)

Generative AI is progressing fast and there are a lot of open questions about what the future of development and tech looks like. For example, what app opportunities are emerging, and what role will AI agents play in the future?

Two Quick Tips When Building With React Router (2 minute read)

Two tips for building React Router apps: keep action data flat when using JSON, and use specific names for URL params, like “userId” instead of just “id”.

NotesOllama (Website)

Use Ollama to talk to local LLMs in Apple Notes.

Atuin (Website)

Sync, search, and backup your shell history.
Get our free, 5-minute newsletter read by 350,000 frontend, backend, and full stack developers
Join 300,000 readers for