π¨ #117: React criticism, useEvent, Next.js, Remix, Gatsby, Expo, Storybook, Ignite, React-Native, TypeScript, Qwik...
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 ;)
As always, thanks for supporting us on your favorite platform:
- π¦ Bluesky
- βοΈ X / Twitter
- π LinkedIn
- π½ Reddit
Don't miss the next email!
πΈ Sponsorβ
Have you already tried Storyblok? It's the headless CMS with a Visual Editor designed for both developers and marketers!
Use Storyblok React SDK to quickly build reusable components and fetch the content to create your React, Next.js, Remix, or even React-Native applications, websites or eCommerces.
Check out Technology Hub and find it out yourself!
βοΈ 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.
Big update: as expected, many Remix APIs (data-loading, mutation...) have finally been moved to React-Router. See the 2min video
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:
- π§βπBeta docs: useCallback + useMemo
- π¬ useEvent update: the
useEvent
prototype is implemented and available via@experimental
. Some concerns will lead to the opening of a new RFC. If I understand correctly it is possible that this hook will never be released but another solution will be adopted. - π¬ Dan Abramov - "in what ways is react 18 faster than react 17?"
- π The new wave of Javascript web frameworks: a good overview of the frontend ecosystem of Flash until today. Focus on React and its various challengers: Vue, Svelte, Solid, Qwik, Astro, Fresh...
- π Get in Zoomer, We're Saving React: article with interesting ideas. I didn't quite understand what the conclusion is except that React can do better and its challengers don't really improve things π
- π useState with URLs: How to persist state with useSearchParams: explains how and why to persist React state in querystring
- π An apparent React bug: related to behavior of the
<details>
element - π When to use βuseImperativeHandleβ and βforwardRefsβ in React 18
- π I18n with Storybook: shows how to bring full i18n support in Storybook: locale dropdown switch, RTL support...
- π Storybook community showcase #3
- π The Basics of Remix
- π React and Observables from RxDB
- π Automated Rule Docs With Docusaurus and Remark
- π Me & React: 5 Years in 15 Minutes
- π¦ Mitosis - Write components with Sveltejs syntax, compile to other frameworks d
- π₯ React Finland day 1 + day 2
- π₯ 5 Pro-Level React Do's & Don'ts
- π₯ freeCodeCamp - Code a Minecraft Clone with JavaScript, React, Three.js
- π¦ React is focused on the problems that matter more: interesting conversations. See also Evan You comment.
- π¦ React form without useState
- π§ MUI Base: the headless alternative to Material UI
- ποΈ JS Party #244 - The spicy React debate show πΆοΈ
- π¦ Its fine: a collection of advanced escape hatches for React. Useful for bridging React context between renderers in the React-Three-Fiber ecosystem
- π¦ Theatre.js v0.5: new 3D editor, useful for React-Three-Fiber
- π¦ TinyBase 2.0: reactive datastore with React bindings
- π¦ React-Tether 3.0: one of the very first positioning libs for React seems to be back in business
- π¦ TanStack Query 4.4: decoupled from React, brings the support of another framework: SolidJS.
- π₯³οΈ Next.js merged 10000 pull-requests
Don't miss the next email!
π± 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.
- π¦ Announcing Ignite 8.0: "Maverick". InfiniteRed's popular React-Native boilerplate gets a nice update. Many improvements: unification Expo/Vanilla RN, redesign, i18n...
- π¦ FlashList 1.3 - MasonryFlashList: to reproduce a grid layout in React-Native, similar to Masonry/Pinterest
- π₯³οΈ TypeScripts types have been internalized in v0.71. No more need for
@types/react-native
. - π₯³οΈ React-Native reach 1M downloads/week
- π¦ 0.70: notable improvement in stacktraces
- π¨ Amazon Interactive Video Service demo: React-Native more performant than TikTok?
- π¨ Software Mansion - Shared Element Transition + Reanimated sneak peek demo
- π Testing React Native WebView with React Native Testing Library
- π The React Native Show #16 - React Native at Microsoft
- π React-Native-Radio #247 - Revisiting common complaints about React Native 5 years later
- ποΈ There's a Snack for That: Expo Snacks collection
π§βπ» 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β
- Qwik and Qwik City have reached beta!: cutting-edge framework, React challenger based on resumability instead of hydration
- TypeScript 4.9 beta: new feature
satisfies
highly anticipated! - Token CSS: possible alternative to Tailwind?
- Updates from the 92nd TC39 meeting: small update
- Cloudflare - workerd: the Open Source Workers runtime
- Meta - MemLab: An open source framework for finding JavaScript memory leaks
- Type-Level TypeScript
- TotalTypeScript Tips + Zod tutorial
- Ezno, new type-checking compiler for JavaScript
- Turborepo 1.5
- tRPC 10 beta
- 2022 Web Almanac
- Chrome Developers - Container queries begin to land in stable browsers
- WebKit Features in Safari 16.0
- Best practices for creating a modern npm package
π€ Funβ
Don't miss the next email!