Adopting Bazel for Web at Scale (10 minute read)
Airbnb migrated its large-scale web monorepo to Bazel, Google's open-source build tool, to overcome scaling limitations and inefficiencies in its existing build system. The migration process involved preparing the codebase for Bazel, which involved cycle breaking and automating BUILD.bazel file generation, and then migrating CI jobs to Bazel.
|
React is a programming language, and its rules are syntax (5 minute read)
Refs, which are used to reference DOM nodes, don't work in React Server Components. This limitation stems from the fact that the server doesn't have access to the DOM, which is a browser-specific concept. Allowing refs in Server Components would introduce potential issues with lexical scope and UI consistency.
|
|
The magic of keeping one level of abstraction per function (5 minute read)
It's important to maintain a single level of abstraction per function in code. Mixing different levels of detail within a single function can lead to confusion and make code harder to understand. Break down code into smaller, focused functions so that each function addresses a specific task at a consistent level of abstraction.
|
|
Expo SDK 52 (26 minute read)
Expo SDK 52 has been released. The New Architecture has been enabled by default for all newly created projects. The release includes React Native 0.76, a stable release of the new expo-video library, beta releases of expo-audio and expo-file-system/next, and large updates to other packages.
|
HyperDX (GitHub Repo)
HyperDX is an open-source observability platform that allows engineers to quickly diagnose production issues by providing a unified search and visualization interface for logs and traces from any Clickhouse cluster.
|
Introducing Spin 3.0 (12 minute read)
Spin is an open-source developer tool for building and running serverless WebAssembly applications. Its latest release includes new features like component dependencies and selective deployments.
|
|
Thinking About Recipe Formats More Than Anyone Should (6 minute read)
This developer considered Cooklang, a recipe markup language, and the Recipe Schema Type, a JSON-LD format used by large recipe sites, for his own recipe site. Cooklang is more simple and flexible, but Schema Type has benefits for SEO and recipe extraction. The developer decided to use a combination of both, rendering Cooklang recipes on his website, providing the raw Cooklang content for download, including the Schema Type for extractors, and using the h-recipe microformat for better semantic markup.
|
What is the best React Native list component? (7 minute read)
ScrollView in React Native for large datasets has limitations compared to FlatList and SectionList as built-in solutions. FlashList is a new type of list built by Shopify that has 5x-10x faster performance compared to FlatList. It uses an optimized RecyclerListView that provides near-native list performance.
|
|
What does f(x) mean in C++? (9 minute read)
The expression `f(x)` can have multiple meanings in C++ depending on the context, including function calls, operator invocations, object creation, type declarations, and casts.
|
|
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.
If you have any comments or feedback, just respond to this email!
Thanks for reading,
Priyam Mohanty, Jenny Xu & Ceora Ford
|
|
|
|