This Week In React #117: React criticism, useEvent, Next.js, Remix, Gatsby, Expo, Storybook, Ignite, React-Native, TS, Qwik...

Sebastien Lorber - Sep 28 '22 - - Dev Community

Hi everyone!

This week we have some interesting React criticisms to read.

We also have various interesting routing-related news: Next.js, React-Router, Expo...

The newsletter is finally back to its usual weekly rhythm! I'm just back from vacations, and I took the opportunity to change my email provider: I'm now using ConvertKit. This gives me more flexibility on the email rendering and will allow me to introduce some new features later ;)


To support me:


โš›๏ธ React

React I Love You, But You're Bringing Me Down

The author of React-Admin gives a fair criticism of React on many aspects (forms, useContextSelector, refs, deps array...). Don't miss Dan Abramov's response.

Next.js Layouts RFC in 5 minutes

The file-system based Next.js router will be significantly upgraded in the next major release. It includes support for nested layouts (like in Remix). This allows to avoid unnecessary unmount/remount of a layout during browsing, but also to manage data loading and errors. This article gives a quick overview. See also Delba's thread.

React Router 6.4

Big update: as expected, many Remix APIs (data-loading, mutation...) have finally been moved to React-Router. See the 2min video

Whatโ€™s New In Gatsby 2022?

Paul upgraded his blog to the latest Gatsby v4 version and shares with us how he used the latest features. Deferred Static Generation can significantly reduce build time. See also Gatsby 5 Umbrella Discussion and the video Gatsby v5 Alpha Showcase: partial hydration is coming!

Extras:


๐Ÿ“ฑ React-Native

RFC: File System-Based Native Routing with Expo and React Native

Evan Bacon is working on a new Expo router based on file-system conventions, similar to Next.js or Remix. He tells us all we need to know about this highly anticipated feature that brings the DX of the web to mobile. This should considerably reduce the boilerplate of our apps, but also improve discoverability, deep linking, indexing, loading data, error handling... See also this thread and this podcast.


๐Ÿง‘โ€๐Ÿ’ป Jobs

๐Ÿง‘โ€๐Ÿ’ผ 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


Next.js routing showing a ridiculously complex file-system based routing tree

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .