Aller au contenu principal

πŸ“¨ #208: Compiler, Next.js, Docusaurus, TanStack, nuqs, Storybook, StyleX, React Navigation, Shopify, Reanimated, Nitro, BottomTabs, CocoaPods, Maestro, Rolldown, Container Queries...

Β· 8 minutes de lecture
SΓ©bastien Lorber
Editeur - Mainteneur de Docusaurus
πŸ‡«πŸ‡· Non traduit :/
Malheureusement, cette page n'a pas encore été traduite en français. Reviens un peu plus tard!

Hi everyone!

No major React announcements this week, probably due to the US presidential election.

But we still had a bunch of exciting React and React Native and great community articles. I'm particularly excited about the React Compiler direction, and the release of React Navigation 7 with a new screen preloading API. Shopify's React Native endorsement is also great news for our ecosystem. Of course, I'm happy to unveil what I've been working on for months on Docusaurus too!

Don't forget to answer the State of React 2024 survey. It's closing next week, and we still have less answers than last year so far. If you have an audience, please help spread the word, and add a ?source=my_name parameter so that survey bias can be tracked.

πŸ’‘ Check this newsletter on Twitter - visual format 🎨

As always, thanks for supporting us on your favorite platform:

Ne manque pas le prochain email !

    πŸ’Έ Sponsor​

    AG Grid: The best React Table in the world

    AG Grid: The best React Table in the world

    AG Grid is a fast, free and fully customisable React Table. Used by 90% of the Fortune 500, AG Grid is 100% open source with over 4 million npm downloads per month:

    • πŸ†“ Free: Access 100s of features such as Sorting, Filtering, Pagination, Cell Editing and more, all for free - forever.
    • πŸš€ Fast: Display millions of cells out of the box, without compromising on performance.
    • 🎨 Customisable: Add your own components to cells, rows & columns and use the Theming API to build & customise Themes.
    • 🏒 Enterprise Features: Purchase a licence for lifetime access to advanced features including Pivoting, Grouping, Master / Detail and Integrated Charts (powered by our React Charting Library, AG Charts). Try it for free - no trial license required.

    Learn More: ag-grid.com

    βš›οΈ React​

    Sathya Gunasekaran - What's next for the React Compiler?

    πŸŽ₯ Sathya Gunasekaran - What's next for the React Compiler?

    I finally caught up with this great talk that announced the React compiler beta, but also unveiled a few other interesting. The compiler is not just about auto-memoization, but is a platform to build more optimizations on. 3 upcoming features presented:

    • Type config: You can help the compiler do a better job by providing extra type information.
    • JSX Inlining: The compiler can remove useless JSX runtime calls, replace them with pre-built JSX objects. jsx('div') becomes {type: 'div'}.
    • JSX Outlining: The compiler can extract subcomponents automatically, that can then be optimized independently. This is particularly useful for list elements when using array.map and inlined JSX, the compiler can create an <Item> component (see the talk screenshot, otherwise this PR explains it well).

    Ne manque pas le prochain email !

      πŸ’Έ Sponsor​

      Introducing @clerk/nextjs v6 - Next.js 15 compatible

      Introducing @clerk/nextjs v6 - Next.js 15 compatible

      The Next.js team has announced the stable release of Next.js 15, and Clerk is continuing the tradition of (nearly) same-day support for new major Next.js releases with the release of @clerk/nextjs v6. With v6, the auth() helper is now asynchronous, <ClerkProvider> defaults to static rendering instead of dynamic, and support for partial pre-rendering has been introduced.

      πŸ“± React-Native​

      React Navigation 7.0

      React Navigation 7.0

      React Navigation v7 is now out and should power the upcoming Expo Router v4 coming with Expo SDK 52, both in beta. My favorite highlights are:

      • Screen preloading: You can prepare screens ahead of time prior to navigating to them and improve the perceived performance. This one is really exciting and might be able to use Concurrent React features in the future.
      • Static API: Simplifies the navigator configuration, and makes it easier to work with TypeScript and deep linking.

      We've just finished migrating the Shopify mobile app to React Native

      Mustafa (Director of Engineering) announced on X that Shopify finished migrating their flagship app with 586 screens to React Native, with very positive results. I hope we'll get a detailed blog post soon.

      • 1.8 millions of lines of code removed
      • 86% of code sharing between iOS and Android
      • 59% faster screen loading
      • 44% faster app launch
      • 63% faster webviews
      • Reducing app crashes
      • Improving apps store ratings

      πŸ”€ Other​

      🀭 Fun​

      alt

      alt

      alt

      See ya! πŸ‘‹


      Ne manque pas le prochain email !