DEV Community

Cover image for This Week In React #307 : Security, React Router, Next.js, TanStack Query, RTL, RTK | Reanimated, Worklets, Expo, Skia | TC39, Node.js, Parcel
Sebastien Lorber
Sebastien Lorber

Posted on Originally published at thisweekinreact.com

This Week In React #307 : Security, React Router, Next.js, TanStack Query, RTL, RTK | Reanimated, Worklets, Expo, Skia | TC39, Node.js, Parcel

Hi everyone, Seb and Jan here πŸ‘‹!

This week, Ricky Hanlon leaves Meta after 8 years on React. React Router fixed 7 vulnerabilities, and an automated React2STEAL campaign is leaking secrets from unpatched React and Next.js servers. TanStack Query shared its v6 roadmap. Next.js is experimenting with a Go server.

On mobile, Reanimated 4.8 makes Shared Element Transitions stable. An RFC proposes a platform-agnostic React Native core, to make out-of-tree platforms easier to maintain. Skia and WebGPU now download their prebuilt binaries at build time, which makes the npm packages much lighter.

Elsewhere, next week's TC39 meeting could move Import Text to stage 4. Firefox 161 unlocks CSS random() in all browsers. Parcel 3 can now build static sites on its own. Node.js is preparing to enable pointer compression by default.

Let's dive in!


πŸ’‘ Subscribe to the official newsletter to receive an email every week!

banner


πŸ’Έ Sponsor

Fewer findings. Only real risks.

Fewer findings. Only real risks.

AI-generated code can introduce vulnerabilities that are easy to miss in a pull request. CodeRabbit Security continuously reviews your codebase for complex bugs and security risks, using full-codebase context to follow data flows, dependencies, and patterns beyond the latest diff.

Run CodeRabbit Security on your own repositories today.


βš›οΈ React


πŸ’Έ Sponsor

Sentry Metrics Workshop: See the Why Behind App Changes

Sentry Metrics Workshop: See the Why Behind App Changes

πŸ“Š Sentry is hosting a live workshop on how to instrument Sentry Application Metrics (along with traces, logs, and errors) to track the signals that matter, with the context you need to get to the root cause. Then turn your metrics into dashboards and alerts to make your life easier.

πŸ‘‰ Save your seat for December 10


πŸ“± React-Native

Reanimated 4.8

Reanimated 4.8 - Shared Element Transitions stable

One of the most anticipated features is finally stable, and enabled by default! Tag two views with the same sharedTransitionTag, put them in two <SharedTransitionBoundary> components, and when the target boundary becomes active, the view travels to it. Think of an album cover moving from a song list into the now-playing screen. It's a small detail, but it makes transitions feel much more natural.

Transitions are no longer tied to navigation, so they also work between tabs, or between two views on the same screen. The moving view is the actual view, not a snapshot, so its content keeps running during the transition. On iOS, it even follows your finger during a swipe-back gesture. When the two views have different children, the new SharedTransition.fadeContent() modifier fades them out and in.

Other key highlights include:



πŸ”€ Other


🀭 Fun

Everywhere I go: the Metro red error screen, even on a phone in a video game

Designing Data-Intensive Applications left on a table

See ya! πŸ‘‹

Top comments (0)