React Digest #380: We Improved React Loading Times by 70% with Next.js
#380 — October 31, 2022 | View in browser |
React Digest
Spread the word, build the community, share the knowledge with your friends.
sponsor
Login & Authentication Workflows
Auth is critical, and getting it right starts with understanding authentication for traditional, SPAs, and mobile apps. Download this technical guide from FusionAuth, including detailed workflows for Native Login and Oauth2.
this week's favorite
We Improved React Loading Times by 70% with Next.js
By switching from CRA to Next.js, we reduced our initial page load times by 70% and unlocked a new level of developer experience.
How To Mutate Data From Your React App Like The Pros
Changing data via a REST API is easy: just call axios.post or axios.patch in a React click handler. Done. But unfortunately, production apps need more than that: e.g. you have to handle loading and error state, invalidate the cache, or refetch data. And as a result, your code can easily turn into messy spaghetti.
Introducing Turbopack: Rust-based successor to Webpack
Each time we moved from a JavaScript-based tool to a Rust-based one, we saw enormous improvements. We migrated away from Babel, which resulted in 17x faster transpilation. We replaced Terser, which resulted in 6x faster minification to reduce load times and bandwidth usage.
With suspense for data fetching on the horizon, it is now more important than ever to make sure your cache is seeded properly to avoid fetch waterfalls.
Next.js 13: Layouts, React Server Components (async/await), Streaming
Next.js 13 introduces layouts, React Server Components, and streaming in the app directory, as well as Turbopack, an improved image component, and the brand new font component.
how did you like this issue?
newsletters
Key phrases
Older messages
React Digest #379: Building a chat app with Socket.io and React Native 🤯
Sunday, October 23, 2022
And more news, tutorials and articles about React in this week's issue. #379 — October 24, 2022 View in browser React Digest Spread the word, build the community, share the knowledge with your
React Digest #378: RFC: First class support for promises and async/await
Sunday, October 16, 2022
And more news, tutorials and articles about React in this week's issue. #378 — October 17, 2022 View in browser React Digest Spread the word, build the community, share the knowledge with your
React Digest #377: Guide to React Rendering Behavior Updated to cover React 18
Sunday, October 9, 2022
And more news, tutorials and articles about React in this week's issue. #377 — October 10, 2022 View in browser React Digest Spread the word, build the community, share the knowledge with your
React Digest #376: Get in Zoomer, We're Saving React
Sunday, October 2, 2022
And more news, tutorials and articles about React in this week's issue. #376 — October 03, 2022 View in browser React Digest Spread the word, build the community, share the knowledge with your
React Digest #375: React I Love You, But You're Bringing Me Down
Sunday, September 25, 2022
And more news, tutorials and articles about React in this week's issue. #375 — September 26, 2022 View in browser React Digest Spread the word, build the community, share the knowledge with your
You Might Also Like
Data Science Weekly - Issue 545
Friday, May 3, 2024
Curated news, articles and jobs related to Data Science, AI, & Machine Learning ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
When accelerator dreams become company nightmares
Thursday, May 2, 2024
Plus: Illinois gives Rivian incentives and AI is not SaaS View this email online in your browser By Christine Hall Thursday, May 2, 2024 Hello, and welcome back to TechCrunch PM. We have a great lineup
📱 Issue 409 - Claude Team plan and iOS app
Thursday, May 2, 2024
This week's Awesome iOS Weekly Read this email on the Web The Awesome iOS Weekly Issue » 409 Release Date May 02, 2024 Your weekly report of the most popular iOS news, articles and projects Popular
💻 Issue 415 - Hotel WiFi JavaScript Injection (2012)
Thursday, May 2, 2024
This week's Awesome JavaScript Weekly Read this email on the Web The Awesome JavaScript Weekly Issue » 415 Release Date May 02, 2024 Your weekly report of the most popular JavaScript news, articles
💎 Issue 415 - Choosing the Right Audit Trail Approach in Ruby
Thursday, May 2, 2024
This week's Awesome Ruby Newsletter Read this email on the Web The Awesome Ruby Newsletter Issue » 415 Release Date May 02, 2024 Your weekly report of the most popular Ruby news, articles and
💻 Issue 408 - Speeding up C++ build times
Thursday, May 2, 2024
This week's Awesome .NET Weekly Read this email on the Web The Awesome .NET Weekly Issue » 408 Release Date May 02, 2024 Your weekly report of the most popular .NET news, articles and projects
💻 Issue 415 - Ditch dotenv: Node.js Now Natively Supports .env File Loading
Thursday, May 2, 2024
This week's Awesome Node.js Weekly Read this email on the Web The Awesome Node.js Weekly Issue » 415 Release Date May 02, 2024 Your weekly report of the most popular Node.js news, articles and
💻 Issue 333 - React 19 Beta
Thursday, May 2, 2024
This week's Awesome React Weekly Read this email on the Web The Awesome React Weekly Issue » 333 Release Date May 02, 2024 Your weekly report of the most popular React news, articles and projects
📱 Issue 412 - The Composable Architecture: My 3 Year Experience
Thursday, May 2, 2024
This week's Awesome Swift Weekly Read this email on the Web The Awesome Swift Weekly Issue » 412 Release Date May 02, 2024 Your weekly report of the most popular Swift news, articles and projects
💻 Issue 410 - Lessons learned after 3 years of fulltime Rust game development, and why we're leaving Rust behind
Thursday, May 2, 2024
This week's Awesome Rust Weekly Read this email on the Web The Awesome Rust Weekly Issue » 410 Release Date May 02, 2024 Your weekly report of the most popular Rust news, articles and projects