Home

2023.04.03 - Rethinking React best practices

Pi

Ping Xia

April 3, 20234 min read

Title: 2023.04.03 – Rethinking React Best Practices

Pause Giant AI Experiments & IPFS & Svelte & Asynchronous Work & Alibaba’s Split & Walking the Right Path

This Week’s Highlights

Rethinking React Best Practiceshttps://frontendmastery.com/posts/rethinking-react-best-practices/
A deep dive into the evolution of React from a client‑side view library to a full application architecture. Related: React Labs: What We’ve Been Working On – March 2023.

Pause Giant AI Experiments: An Open Letterhttps://futureoflife.org/open-letter/pause-giant-ai-experiments/https://news.ycombinator.com/item?id=35348353
We call on all AI labs to immediately pause for at least six months the training of AI systems more powerful than GPT‑4. Related:

IPFS Implementations: It’s Definitely a Thinghttps://blog.ipfs.tech/2023-03-implementation-principles/
These are exciting times: solidifying our foundations empowers us to build higher and better. The next IPFS Thing (opens new window) is just a few weeks away, April 15‑19, in Brussels. As a community we’ll use the occasion to share, discuss, and push forward many new IPFS capabilities and implementations. We have no doubt that, from these CIDs, many flowers will grow. Related: Announcing the Content Tracks for IPFS Thing 2023.

Evolution of Quality at Grabhttps://engineering.grab.com/evolution-of-quality
In this article we dive deeper into our quality‑improvement journey that officially began in 2019, the challenges we faced along the way, and where we stand as of 2022.

In‑Depth Reading

JavaScript import maps are now supported cross‑browserhttps://web.dev/import-maps-in-all-modern-browsers/
With import maps, importing ES modules becomes a lot smoother.

In Praise of Vitehttps://cloudfour.com/thinks/in-praise-of-vite/
There are many technical reasons why Vite is great, but for me it eliminates the single most painful part of modern web development. At the end of the day it just works. With very little configuration it does everything I want: load a file, process it as needed, and let me get back to writing code. Related: Migrate to Vite from Create React App (CRA).

Thoughts on Sveltehttps://tyhopp.com/notes/thoughts-on-svelte
I enjoyed the Svelte experience overall. Highlights are the component format, built‑in stores, and the event‑dispatcher API. Lowlights are reactive statements ($), await blocks, and the built‑in transition and animation APIs.

From Web 2 to Web 3: How Developers Can Upskill and Build with Blockchainhttps://stackoverflow.blog/2023/03/29/from-web2-to-web3-how-developers-can-upskill-and-build-with-blockchain/
Why Web 3 is here to stay and how developers can build killer dApps.

Dockerhttps://computer.rip/2023-03-24-docker.htmlhttps://news.ycombinator.com/item?id=35307640https://www.docker.com/blog/no-longer-sunsetting-the-free-team-plan/
Lately I tend to stick to topics that are at least twenty years old, which has many advantages. But I’m supposedly a DevOps professional, so I’ll occasionally indulge in giving DevOps advice… or at least opinions, which are kind of advice but with a weaker warranty.

Twitter’s Recommendation Algorithmhttps://blog.twitter.com/engineering/en_us/topics/open-source/2023/twitter-recommendation-algorithm
Twitter aims to deliver you the best of what’s happening in the world right now. This requires a recommendation algorithm to distill roughly 500 million Tweets posted daily down to a handful of top Tweets that ultimately appear on your device’s “For You” timeline. This blog is an introduction to how the algorithm selects Tweets for your timeline. Our recommendation system is composed of many interconnected services and jobs, which we detail in this post. While there are many areas of the app where Tweets are recommended—Search, Explore, Ads—this post focuses on the home timeline’s “For You” feed. Related: The Twitter API is now effectively unmaintained.

How We Built It: Stripe Radarhttps://stripe.com/blog/how-we-built-it-stripe-radar
To identify fraudulent transactions we rely on the breadth of the Stripe network—our biggest strength. We’ve done so by improving our machine‑learning (ML) architecture while enhancing how we communicate with users about the reasons behind fraud decisions. In this post we share what makes Radar so powerful and walk you through key decisions we’ve made—and lessons we’ve learned—over the almost seven years of building it.

Building a Collaborative Asynchronous Work Environmenthttps://stackoverflow.blog/2023/03/27/building-a-collaborative-asynchronous-work-environment/
Fully embracing a remote workplace means letting everyone work when they want to work.

Fresh Finds

Introducing Self‑Service SBOMsEverything Is a Remix (Complete Updated 2023 Edition)WebKit Features in Safari 16.4Spin 1.0 — The Developer Tool for Serverless WebAssemblyFlutter in 2023: Strategy and RoadmapOne in Two New npm Packages Is SEO Spam Right Nowrefine: Build your React‑based CRUD applications, without con

(content truncated)


Originally written by Ping Xia (平侠) and published in Chinese on Web技术周刊 (Web Tech Weekly). Translated and adapted for DriftSeas with permission.

Keep reading

More related articles from DriftSeas.