This Week In React(@ThisWeekInReact) 's Twitter Profileg
This Week In React

@ThisWeekInReact

• ⚛️ Stay up-to-date with React
• 📡 High signal, no drama
• 🔥 Join 34k React devs - 1 email/week
• 📨 https://t.co/ymeDmOmnYt
• By @sebastienlorber

ID:1751668704318730241

linkhttps://ThisWeekInReact.com calendar_today28-01-2024 18:09:30

207 Tweets

2,0K Followers

469 Following

Seb ⚛️ ThisWeekInReact.com(@sebastienlorber) 's Twitter Profile Photo

What if JS runtimes support dependency injection for globals?

Just proposed this crazy idea on the AsyncContext repo

github.com/tc39/proposal-…

What if JS runtimes support dependency injection for globals? Just proposed this crazy idea on the AsyncContext repo github.com/tc39/proposal-…
account_circle
Seb ⚛️ ThisWeekInReact.com(@sebastienlorber) 's Twitter Profile Photo

This Week In React 183

⚛️
- Vercel + Edge
- Ref cleanup
- fetch() patch
- React unminified
- Remix Single Fetch
- Redwood Docwood
- Signals
- Zustand Slices
- StyleX
- Hydrogen
- R3f
📱
- v0.74
- RN IDE
- NewArch
- VisionCamera
- AppCenter

... more by ✉️

Details 👇

This Week In React 183 ⚛️ - Vercel + Edge - Ref cleanup - fetch() patch - React unminified - Remix Single Fetch - Redwood Docwood - Signals - Zustand Slices - StyleX - Hydrogen - R3f 📱 - v0.74 - RN IDE - NewArch - VisionCamera - AppCenter ... more by ✉️ Details 👇
account_circle
Seb ⚛️ ThisWeekInReact.com(@sebastienlorber) 's Twitter Profile Photo

📜 HTML attributes vs DOM properties - Jake Archibald

Great deep dive into subtle DOM behaviors and design decisions

Including how frameworks like React or Vue handle the difference

Also explains how React 19 will improve support for Web Components

jakearchibald.com/2024/attribute…

📜 HTML attributes vs DOM properties - @jaffathecake Great deep dive into subtle DOM behaviors and design decisions Including how frameworks like React or Vue handle the difference Also explains how React 19 will improve support for Web Components jakearchibald.com/2024/attribute…
account_circle
Seb ⚛️ ThisWeekInReact.com(@sebastienlorber) 's Twitter Profile Photo

👀 React 19 will NOT patch fetch() anymore! 🌶🌶🌶

You will have to use React.cache() instead to avoid duplicate fetch() requests

Will Next.js 14 reimplement this temporarily, for retrocompatibility? 🤷

github.com/facebook/react…

👀 React 19 will NOT patch fetch() anymore! 🌶🌶🌶 You will have to use React.cache() instead to avoid duplicate fetch() requests Will Next.js 14 reimplement this temporarily, for retrocompatibility? 🤷 github.com/facebook/react…
account_circle
React Native(@reactnative) 's Twitter Profile Photo

React Native 0.74.0 is out!

This release brings Yoga 3.0, Bridgeless by default under the New Architecture, Yarn 3, and more ⬇️

reactnative.dev/blog/2024/04/2…

account_circle
Seb ⚛️ ThisWeekInReact.com(@sebastienlorber) 's Twitter Profile Photo

👀 React 19 should support a new ref cleanup function

Looks like it has been planned for a while and will finally be added in the upcoming version

Docs being written here:
github.com/reactjs/react.…

More info/links/context here:
github.com/facebook/react…

👀 React 19 should support a new ref cleanup function Looks like it has been planned for a while and will finally be added in the upcoming version Docs being written here: github.com/reactjs/react.… More info/links/context here: github.com/facebook/react…
account_circle
Delba(@delba_oliveira) 's Twitter Profile Photo

'use client' is a bundling feature not specific to React Components.

For example, `abc` is a simple numeric value defined in a client module and imported into a server module.

What do we expect `abc` to log in each environment?

account_circle
Daishi Kato(@dai_shi) 's Twitter Profile Photo

Zustand users often face challenges with the slice pattern. Introducing zustand-slices! This is just a start. I'm eager to hear your feedback and would welcome any contributions. Let's make it better together!

Repo 👉 github.com/zustandjs/zust…
Demo 👉 codesandbox.io/p/sandbox/gith…

Zustand users often face challenges with the slice pattern. Introducing zustand-slices! This is just a start. I'm eager to hear your feedback and would welcome any contributions. Let's make it better together! Repo 👉 github.com/zustandjs/zust… Demo 👉 codesandbox.io/p/sandbox/gith…
account_circle
Seb ⚛️ ThisWeekInReact.com(@sebastienlorber) 's Twitter Profile Photo

This Week In React 182

⚛️
- v18.3 warnings
- v19 useDeferredValue
- v19 Forms reset
- Next.js
- DevTools
- Zustand
- CSS-in-JS
- R19
- Remix
- Jest
- XState
- Astro
📱
- 0kb RN Server Components?
- Worklets
- Privacy Manifest
- Strict DOM
- ThreeJS

... more by ✉️

Details 👇

This Week In React 182 ⚛️ - v18.3 warnings - v19 useDeferredValue - v19 Forms reset - Next.js - DevTools - Zustand - CSS-in-JS - R19 - Remix - Jest - XState - Astro 📱 - 0kb RN Server Components? - Worklets - Privacy Manifest - Strict DOM - ThreeJS ... more by ✉️ Details 👇
account_circle
Benedikt Müller(@bndkt) 's Twitter Profile Photo

Here are the React Native highlights from This Week in React. No 'big news' this week, but a lot of interesting tidbits. You could help a fellow RN dev out by sharing this thread.

- 🏛️ New Arch
- 👌 0 Bundle RSC
- 🕵️ Privacy Manifest
- 📏 Size Matters
- 🎬 3D Animations

🧵

Here are the React Native highlights from This Week in React. No 'big news' this week, but a lot of interesting tidbits. You could help a fellow RN dev out by sharing this thread. - 🏛️ New Arch - 👌 0 Bundle RSC - 🕵️ Privacy Manifest - 📏 Size Matters - 🎬 3D Animations 🧵
account_circle
Seb ⚛️ ThisWeekInReact.com(@sebastienlorber) 's Twitter Profile Photo

📜 Rebuilding 'Remix Contacts' in Next.js 14 - Aurora Walberg Scharff

Nice detailed walkthrough converting the official Remix tutorial app to Next.js

Preserving progressive enhancement behavior

Details pros/cons of each implementation
No clear winner

aurorascharff.no/posts/rebuildi…

📜 Rebuilding 'Remix Contacts' in Next.js 14 - @aurorascharff Nice detailed walkthrough converting the official Remix tutorial app to Next.js Preserving progressive enhancement behavior Details pros/cons of each implementation No clear winner aurorascharff.no/posts/rebuildi…
account_circle
Seb ⚛️ ThisWeekInReact.com(@sebastienlorber) 's Twitter Profile Photo

⚛️ New React 19 feature 👀

useDeferredValue() will now take a 2nd arg `initialValue`

It will return the `initialValue` on initial render

Then schedule a background/low-priority re-render with the `value` returned

🤔 Interesting
Do you have a use case in mind for this?

⚛️ New React 19 feature 👀 useDeferredValue() will now take a 2nd arg `initialValue` It will return the `initialValue` on initial render Then schedule a background/low-priority re-render with the `value` returned 🤔 Interesting Do you have a use case in mind for this?
account_circle
Seb ⚛️ ThisWeekInReact.com(@sebastienlorber) 's Twitter Profile Photo

⚛️ Preview of React 18.3 warnings 👀

- when using string refs

- when using defaultProps on FC

- when using defaultProps on memo components

- when spreading a key prop (this opts out of 'Fast JSX')

⚛️ Preview of React 18.3 warnings 👀 - when using string refs - when using defaultProps on FC - when using defaultProps on memo components - when spreading a key prop (this opts out of 'Fast JSX')
account_circle
Seb ⚛️ ThisWeekInReact.com(@sebastienlorber) 's Twitter Profile Photo

👀 React 18.3

Looks like finally a minor version will be released

It should contain additional warnings to help us upgrade to React 19

👀 React 18.3 Looks like finally a minor version will be released It should contain additional warnings to help us upgrade to React 19
account_circle
Dominik 🔮(@TkDodo) 's Twitter Profile Photo

📚 It's been almost 1.5 years since I wrote my first blog post about working with zustand. It's about time I wrote a follow-up piece - about using zustand together with React Context

tkdodo.eu/blog/zustand-a…

account_circle
Theo - t3.gg(@t3dotgg) 's Twitter Profile Photo

After 8 months of planning, 12 hours of filming, and 2 weeks of editing, my biggest project has been released.

The Modern Full-Stack React Tutorial is now live, FOR FREE, on my YouTube channel

After 8 months of planning, 12 hours of filming, and 2 weeks of editing, my biggest project has been released. The Modern Full-Stack React Tutorial is now live, FOR FREE, on my YouTube channel
account_circle