DEV Community

Cover image for This Week In React #122: Next.js 13, Turbopack, Remixing Shopify, R3f Journey, Valhalla, Expo, Rive, Storybook, Asta...
Sebastien Lorber
Sebastien Lorber

Posted on • Originally published at thisweekinreact.com

This Week In React #122: Next.js 13, Turbopack, Remixing Shopify, R3f Journey, Valhalla, Expo, Rive, Storybook, Asta...

Hi everyone!

What a great week full of twists and turns!

  • Next.js 13 gives us access to the latest React innovations
  • Turbopack could succeed Webpack
  • Shopify acquires Remix
  • Gatsby will release its v5 and make its data-layer agnostic
  • Expo's SDK 47 is really promising

Also, don't miss the big update to the Three.js Journey course with React-Three-Fiber modules. I got promo code "TWIR" for the launch. This will be the first course to be featured on a future "deals" page I'll create later.

I'm testing a new format! This took much more time than usual 😅. I would really appreciate a retweet, testimonial or referral to a friend if you want to support me doing this again 🙏 The bigger the newsletter, the more opportunity I have to improve it.

💡 Check this newsletter on Twitter - visual format 🎨


💸 Sponsor

Sizzy - the browser for developers

How come professionals in every other industry have specialized tools, but web developers are still stuck using the browser that their grandma is using for shopping on Amazon?

If you're opening localhost:3000 in any other browser except Sizzy, you're wasting hours of your precious time.

Before Sizzy: web development is stressing you out, responsive design is hard, you have an overwhelming amount of opened tabs and apps.

After Sizzy: all the tools you need are in one place, responsive design is a breeze, no more context switching.

You can download it here and try it for free for 14 days!


⚛️ React

Next.js 13 keynote slide

Next.js 13 - Dynamic Without Limits

This new version of Next.js introduces the new routing system and nested layouts in beta. The migration is incremental and optional: you will have to move your Next.js pages to a new app/ folder. This enables the latest innovations, such as React Server Components and SSR streaming support on both Edge + Node.js runtimes.

⚡️ Other significant improvements:

  • Turbopack: a new Rust bundler in alpha (details below).
  • next/image: new lighter, flexible and faster image component, avoids shifting layouts
  • @next/font: self-host fonts efficiently and avoid layout shifts (see also Fontaine presented last week)

💬 Comments:

  • Dan Abramov is excited about this release which gives a concrete implementation to the target architecture React is aiming for
  • Andrew Clark explains his controversial "Next.js 13 is the real React 18 release" line
  • Matt Kane thinks that React is too tied to Next.js
  • Zach Leatherman mentions that Next.js 13's Hello World still sends way too much JavaScript

🔗 Useful links:


Turbopack keynote slide

Introducing Turbopack: Rust-based successor to Webpack

Vercel has hired Tobias Koppers (creator of Webpack), to work on Turbopack, a new very fast bundler in Rust. For now, the tool is in alpha, supports mainly Next.js, and its features are limited. Support for other frameworks (Svelte, Vue...) and features (Tailwind...) will be added later.

Turbopack is optimized for the developer experience, and Vercel announces that the tool is 700x faster than Webpack, and 20x faster than Vite. It is based on Turbo, a Rust memoization framework that is able to cache the result of each function independently. Vercel has also published an article with more detailed benchmarks.

💬 Comments:

  • Jared Palmer explains how caching works and that Turborepo/Turbopack could merge.
  • Evan You question the benchmarks, and created a Is Turbopack really 10x Faster than Vite? page. Vite does not use SWC by default, and the published benchmarks rely on the use of Babel. Vite could replace esbuild/Rollup with Turbopack.
  • Sebastian McKenzie points out the relatively small performance gain on a cold start (x4), likely due to overhead in initializing the cache.
  • Devon Govett mentions that the architecture is similar to Parcel.
  • Amjad Masad mentions that the React-Native Metro bundler has been using a similar caching system for a very long time.

Remixing Shopify

Remix Joins Shopify to Push the Web Forward

Remix has just joined Shopify, and will be used in their Hydrogen e-commerce meta-framework as well as other projects. Hydrogen 2.0 will replace the use of React Server Components with Remix APIs! They found the Remix model easier to understand and more powerful than Server Components.

To me, this is a great acquisition. Shopify can focus on Hydrogen's value proposition rather than infrastructure concerns, and benefits from Remix's progressive enhancement, especially important for e-commerce. Not to mention that Remix is decoupled from React, and Shopify is working on a Hydrogen UI agnostic library: Shopify should be able to reach developers from various frameworks (Vue, Svelte...), without having to impose React, while relying on a shared infrastructure.

💬 Comments:

  • Josh Larson worked on Hydrogen v1, lists challenges encountered, and doesn't question the benefits of React Server Components which are better implemented in Next.js 13 than Hydrogen v1.
  • Ryan Florence mentions that Shopify is not against Server Components, and that they will probably be re-introduced in Remix later.
  • Ryan Florence explains how this acquisition will allow them to fully focus Remix.
  • Guillermo Rauch says that a frontend should rather be decoupled from a headless backends. Anthony Frehner replies that Next.js support should be coming to Hydrogen UI.

🔗 Useful links:


Three.js Journey is going React

Three.js Journey is going React

Three.js Journey is the reference course to learn how to create 3D scenes on the web with Three.js. Bruno Simon has just released 24 hours of additional videos based on React-Three-Fiber which brings a declarative model to Three.js. 3D is coming to our applications: it's a good time to get into it if you want to know how to do something other than forms and business applications. I'm also doing this course and I don't regret it at all!

Bruno is offering us a promo code "TWIR" of -30% (or $66) for the next 10 days. This is not sponsored: I find this course really cool, and the update makes it even more relevant for a React dev.

I plan to create a deals page soon with other interesting courses (on which I won't earn anything). Don't hesitate to tell me which courses interest you the most so that I can contact their authors!



💸 Sponsor

Sunsama - How 1000s of software engineers stay productive without burning out

How 1000s of software engineers stay productive without burning out

You know that the output of your work matters more than the number of hours you put in. Sunsama has been the insider secret of 1000s of developers who use it to work less but achieve more.

Eliminate endless tab-switching with their JIRA, Github, and Notion integration. Timebox your day and create space for your hobbies and side-projects.

The best part? They're offering a 14-day free trial (no card needed) so you can start achieving more, today.


📱 React-Native

Expo SDK 47 beta is now available

Expo SDK 47 beta is now available

The new Expo SDK is available in beta for one week. Some headlines:

  • Upgrades to React-Native 0.70.4 and React 18.1
  • Hermes available in Expo Go on iOS. Hermes will be the default JS engine from SDK 48.
  • Fabric support in many Expo modules
  • Expo Modules API 1.0 that makes it easy to create native Fabric modules in Swift/Kotlin
  • Filesystem routing for React-Navigation in beta. The last release v0.0.34 is compatible with SDK 47.

We'll have more details next week, but it's clearly a big release with some very nice new features!



🧑‍💻 Jobs

🧑‍💼 Product Engineer at Causal, Remote/London/NY, $150-250k

Causal is a Series A Startup (backed by Coatue/Accel) building an all-in-one tool for working with numbers and visualizing data. We're looking for strong React engineers who can solve difficult UX/performance challenges.

🧑‍💼 G2i - 100% Remote React Native Jobs

We have several roles open for developers focused on React Native! Pay is ~160k plus 10% bonus. You must have production experience with RN and be based in the US. DM @gabe_g2i to learn more and don't forget to mention This Week in React.

💡 How to publish an offer?


🔀 Other


🤭 Fun

Next.js 13 - 1299$ price - Apple-like keynote troll

Top comments (0)