This Week In React #227: Next.js, tRPC, React Query, React Router, StyledComponents, MUI, Base UI, Next Intl | React Native birthday, Lynx, EAS, Atlas, Reanimated, Audio, BottomTabs | CSS, Rsdoctor, Linters, Node

This Week In React #227: Next.js, tRPC, React Query, React Router, StyledComponents, MUI, Base UI, Next Intl | React Native birthday, Lynx, EAS, Atlas, Reanimated, Audio, BottomTabs | CSS, Rsdoctor, Linters, Node

Hi everybody!

This week, you most likely did not miss the Next.js middleware drama, however that wasn’t the one factor occurring!

We additionally obtained many nice releases reminiscent of tRPC, React Query, Rsdoctor and extra!

Also, React Native is 10 years previous at present! ๐Ÿฅณ

As all the time, thanks for supporting us in your favourite platform:

๐Ÿ’ธ Sponsorโ€‹

Convex: The Database Designed for AI Coding

Convex: The Database Designed for AI Coding

In the age of code era, you want a backend that you could confidently generate with AI platforms. Convex is by far and away greatest at school on this respect.

This is as a result of Convex is simply TypeScript, permitting you to jot downย queries as codeย which might be routinely transactional, cached, and realtime.

And thatโ€™s just the start. With Convex, you may:

  • Easily schedule features and write cron jobs
  • Set up file storage
  • Write environment friendly server features
  • And a lot extraโ€ฆ

Try a Quickstart at present

โš›๏ธ Reactโ€‹

Postmortem on Next.js Middleware bypass

Postmortem on Next.js Middleware bypass

Just a few days in the past, Vercel introduced a vital 9.1 vulnerability in Next.js middleware system. With a easy however malicious x-middleware-subrequest header, you may bypass the middleware, presumably exposing delicate data. Patches can be found for Next.js 12/13/14/15. Note that this vulnerability solely impacts self-hosted apps utilizing output: โ€˜standaloneโ€™ and subsequent begin are affected. Customers of main serverless cloud suppliers are both not affected (Vercel, Netlify), or safety may be turned on (Cloudflare).

It’s value noting that regardless that Next.js middleware shouldnโ€™t have this vulnerability, it’s not the really useful place to handle consumer periods and defend routes, and shouldnโ€™t be the one line of protection in your Next.js app. The middleware is extra designed to carry out light-weight optimistic checks, ultimately rewriting/redirecting with out hitting any DB.

This safety occasion has prompted quite a lot of drama within the ecosystem, which I’d relatively not touch upon a lot. Vercel might have dealt with the state of affairs higher, and so they plan to do higher sooner or later. Iโ€™ll allow you to make your personal opinion based mostly on numerous assets, and thereโ€™s too many, so that is only a subset:

๐Ÿ’ธ Sponsorโ€‹

Meet @clerk/agent-toolkit

Meet @clerk/agent-toolkit

Clerk’s new experimental bundle for utilizing Clerk in your AI agent workflows. Manage customers, orgs, and extra with Vercel AI SDK + LangChain help. Try it now: npm set up @clerk/agent-toolkit

๐Ÿ“ฑ React-Nativeโ€‹

React Native turns 10

React Native turns 10! ๐ŸŽ‰๐Ÿคฏ

Believe it or not, React Native was open-sourced precisely 10 years in the past, and React Native is celebrating its first decade at present!

An enormous shoutout to everybody who made it occur! Letโ€™s take the chance to hear once more to this podcast episode with Christopher Chedeau (Vjeux, co-creator of React Native) the place he explains the backstory of React Native, and the way this nice mission might simply have died with out bold individuals keen to guess on it.

Also a shoutout to the wonderful React Native groupโ€”tight-knit, all the time pushing ahead, tackling challenges, and constructing the way forward for native declarative UI collectively ๐Ÿš€

To the following promising decade! ๐Ÿฅ‚

๐Ÿ”€ Otherโ€‹

๐Ÿคญ Funโ€‹

This week we have now 2 movies, it’s essential to click on ๐Ÿ˜‚

alt

alt

See ya! ๐Ÿ‘‹

HI-FI News

through This Week In React – Newsletter https://ift.tt/jYN9Pfe

March 26, 2025 at 09:39PM