r/reactnative • • 3h ago

News This Week In React Native #307: Reanimated, Worklets, Expo, Skia, WebGPU, Unistyles, Legend List

https://thisweekinreact.com/newsletter/307
2 Upvotes

2 comments sorted by

1

u/sebastienlorber 3h ago

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 This Week In React by email - Join 43000 other React devs - 1 email/week

1

u/sebastienlorber 3h ago

📱 React-Native

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: