This Week In React #292 : Octane, TanStack, StableRef, Next.js | Workers, SafeAreaView, backgroundImage, WebGPU | TC39, Web Vitals Sebastien Lorber and Jan Jaworek's newsletter highlights Octane, a new React challenger by Dominic Gannaway that compiles Hooks, Suspense, and Actions ahead of time, removing the Virtual DOM and using native browser events. The newsletter also covers TanStack's decision to stop using React Server Components on their website, React Native 0.87 PRs, and TC39 proposals progress. Hi everyone, Seb https://x.com/sebastienlorber and Jan https://x.com/jaworek3211 here πŸ‘‹ This week we have an interesting React challenger, keeping its mental model but compiled ahead of time. Also various major announcements from the TanStack side. On the mobile side, we have interesting RN 0.87 PRs to look at, discussions around workers / worklets, a WebGPU/Skia integration, and React Navigation 8 / Screens 5 progress. Last week, many proposals progressed during a TC39 meeting. npm is going to scan for malware at publish time. Core Web Vitals will now measure SPA soft navigation. Let's dive in πŸ’‘ Subscribe to the official newsletter to receive an email every week πŸ’Έ Sponsor Ship AI generated code safely with Meticulous. https://www.meticulous.ai/?utm source=thisweekinreact&utm medium=newsletter&utm campaign=26q3&utm content=1st Claude writes your code. Claude reviews your code. Claude fixes the review comments. And somehow, you're the one getting paged at 2am when it breaks in prod. Fortunately, top AI-driven teams like Dropbox, Notion, LaunchDarkly, and Wiz rely on Meticulous to run 1000s of e2e UI tests autonomously, covering every user flow, edge case, role and permutation. Built by ex-Palantir engineers, Meticulous gives you near-exhaustive coverage in weeks, without any developer effort https://www.meticulous.ai/?utm source=thisweekinreact&utm medium=newsletter&utm campaign=26q3&utm content=1st . It works like magic in the background: - Near-exhaustive coverage on every test run - No test creation - No maintenance seriously - Zero flakes built on a deterministic browser Check it out - and see why one engineering leader at Dropbox said that β€œ once we started using Meticulous, we couldn’t imagine working without it https://www.meticulous.ai/?utm source=thisweekinreact&utm medium=newsletter&utm campaign=26q3&utm content=1st :~:text=Once%20we%20started%20using%20Meticulous%2C%20we%20couldn%27t%20imagine%20working%20without%20it. .” βš›οΈ React Octane – React's programming model, compiled https://octanejs.dev/ Dominic Gannaway – former React/Svelte team member, creator of Inferno – unveiled his new project, Octane, as a successor to Inferno. It keeps React’s programming model, but compiles Hooks, Suspense, and Actions ahead of time. It improves performance, removing the Virtual DOM and using native browser events. You don’t need to respect the rules of hooks or to maintain dependency arrays manually. You can use it with JSX/TSX, but it also supports TSRX https://tsrx.dev/ to improve your developer experience. This looks like a quite serious React challenger using the same mental model, already receiving contributions from maintainers of popular project. It comes from day 1 with integrations for libraries such as TanStack, React Three Fiber, Lynx, StyleX, NativeScript, and more. - πŸ’Έ Sentry - Stop logging everything. Learn what's worth capturing and how to structure it properly. https://blog.sentry.io/logging-best-practices/?utm source=thisweekinreact&utm medium=paid-community&utm campaign=logs-fy27q2-evergreen&utm content=newsletter-react-link-logging-blog-learnmore - πŸ‘€ Next.js docs preview - Offline support https://preview.nextjs.org/docs/app/guides/offline-support - With experimental.useOffline enabled, Next.js will no longer throw when the network is down, keeping requests pending with a retry. - πŸ—“οΈ React Advanced London https://reactadvanced.com/?utm source=thisweekinreact - πŸ‡¬πŸ‡§ London - 23 & 26 Oct. First speakers announced: TanStack Maintainer, Engineer at Vercel, Apollo TypeScript Client maintainer & more. All in a historic ex-brewery. Get 10% off with code "TWIR". - πŸ“œ TanStack - We Stopped Using RSC on https://tanstack.com/blog/we-stopped-using-rsc-on-tanstack-com TanStack.com http://TanStack.com - Tanner explains why the TanStack website adopted RSC in the first place, keeping heavy dependencies like the Shiki syntax highlighter on the server. But the maths change if the heavy libraries become smaller: it’s better to use SSR, ship a small lib once and render multiple times on the client than to render each blog post on the server and ship an RSC/Flight payload. To achieve better performance with SSR, TanStack had to introduce 2 new deliberately small projects: TanStack Markdown and TanStack Highlight https://tanstack.com/blog/introducing-tanstack-markdown-and-highlight , available in alpha. In TanStack Start, you can freely decide to use SSR or RSC when it makes sense. - πŸ“œ Making Referential Stability a Type https://www.jovidecroock.com/blog/referential-stability-types/ - A really cool idea to tag memoized values directly in the type system with Stable