Seb βš›οΈ ThisWeekInReact.com Profile picture
Nov 23, 2021 β€’ 17 tweets β€’ 14 min read β€’ Read on X
🧡 This Week In React

πŸ‘‰ Remix 1.0
πŸ‘‰ Test Selector API
πŸ‘‰ 3D Scene
πŸ‘‰ Prev unnecessary renders
πŸ‘‰ Next.js offload scripts
πŸ‘‰ Tamagui cross-platform UI kit
πŸ‘‰ Partial hydration
πŸ‘‰ Lighthouse 9
πŸ‘‰ Cloudflare Pages
πŸ‘‰ Fundraisings

... more in the newsletter πŸ˜‰

🧡 Details πŸ‘‡
🧡 @remix_run launches in v1

Focus on UX, progressive enhancement, perf

Leverage existing Web APIs => reusable skills

Landing page parallax explains most important parts in 5min ⏱️

!= Next.js, @ryanflorence says it's more like Rails (intro video)

remix.run
🧡 React Test Selectors

Experimental RFC API by @brian_d_vaughn

Should make e2e tests more robust

Cross-platform: should work with RN, R3f...

Ability to select by text, testName (like TestingLib testId), but also component!

gist.github.com/bvaughn/d3c8b8…
🧡 Build stunning 3D scenes with React Three Fiber

@winkerVSbecks destructs techniques with R3

From basics to @storybookjs integration, composition, animation, custom shader

varun.ca/modular-webgl

@0xca0a reminds R3f works cross-platform (RN):

🧡 How To Prevent Unnecessary React State Update Re-renders

@keraito highlight some not-so-widely known things about state updates

setState(v => v) does not produce re-render, but beware of unnecessary shallow object/array copies

chakshunyu.com/blog/how-to-pr…
🧡 Next.js proposal to off-load third-party scripts, by @hdjirdeh

Move load to background thread / Web Worker

This can improve web page load perf

Could leverage existing Partytown lib, or build something custom

github.com/vercel/next.js…
🧡 What's Next.js by @NatalieMarleny

New series of online meetups focusing on new, cutting edge things coming in the Next.js ecosystem

Good time to hear about things like Bun, the new bundler from @jarredsumner compatible with Next.js

whatsnext.js.org
🧡 Little thread pause

Don't forget to subscribe by email Folded hands βœ‰οΈ

There's even more content inside and better insight πŸ‘Œ

Take a look at an online edition πŸ˜‰

➑️ ThisWeekInReact.com
🧡 Tamagui by @natebirdman

New abstraction to build cross-platform design systems

Leveraging RNW, atomic CSS

Solves media-queries, theme, design tokens, type-safety, SSR (site using Next.js)...

The compiler can extract conditional inline styles!

tamagui.dev
🧡 react-native-performance by @almouro @bam_lab

New Flipper plugin to monitor app's performance

Inspired by Lighthouse, for React-Native (android only for now)

github.com/bamlab/react-n…
🧡 Don’t use the wrong JDK for React Native if you’re using an M1 Mac

@jamonholmgren suggests to use the Azul Zulu JDK instead of adoptopenjdk8

Can speed up Android app build time x2

shift.infinite.red/dont-use-the-w…
🧡 What is partial hydration and why is everyone talking about it?

@ajcwebdev reminds the hydration "uncanny valley"

Great overview of how frameworks handle things like partial hydrating, progressive enhancement, islands architecture through the ages

dev.to/ajcwebdev/what…
🧡 Lighthouse 9.0 by @brendankenny

New user-flow integration => seems very convenient to measure Single-Page-Application interactions and get some insights

Also improved Lighthouse report readability

developer.chrome.com/blog/lighthous…
🧡 Cloudflare Pages Goes Full Stack by @nevikashah @glenmaddern @1000hz

Cloudflare Pages catch-up on DX

Now allows deploying Workers alongside your static deployment with a single git push

=> CF: commits to make seamless integration with React fwks

blog.cloudflare.com/cloudflare-pag…
🧡 Fundraising week for our hosting providers πŸ˜„

- $150m for @vercel vercel.com/blog/vercel-fu…

- $105m for @Netlify netlify.com/press/netlify-…

- $20m for @render render.com/blog/render-se…
🎬 THREAD END!

Follow @sebastienlorber for the next threads!

πŸ‘Œ Better insights and more content by email

βœ‰οΈ Subscribe now at ThisWeekInReact.com

---

❀️ Like this thread 🧡 ?

πŸ™ Please help me & Retweet the thread "head" below πŸ‘‡

Previous editions?

They are all published online at ThisWeekInReact.com

Read the previous Twitter thread here:

β€’ β€’ β€’

Missing some Tweet in this thread? You can try to force a refresh
γ€€

Keep Current with Seb βš›οΈ ThisWeekInReact.com

Seb βš›οΈ ThisWeekInReact.com Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @sebastienlorber

Mar 1, 2023
🧡 This Week In React

βš›οΈ
πŸ‘‰ Next.js
πŸ‘‰ Signals
πŸ‘‰ useSyncExternalStore
πŸ‘‰ Server Components
πŸ‘‰ TanStack Bling
πŸ‘‰ Forgetti
πŸ‘‰ Suspense Toolbox
πŸ‘‰ Module Extraction

πŸ“±
πŸ‘‰ Expo
πŸ‘‰ Reanimated
πŸ‘‰ Metro
πŸ‘‰ Restyle
πŸ‘‰ DankStyle
πŸ‘‰ RFCs

Links ➑️ thisweekinreact.com/newsletter/136

Preview πŸ‘‡ Image
🧡 Intro

Signals remained a trending topic this week
Great Next.js 12.3 release unveiling a new cache system

Also many new for React-Native!
Expo 48, Expo Router 1, Expo Image 1, Reanimated 3, Metro symlinks support!

βœ‰οΈ Subscribe by email - Much better!
πŸ‘₯ Join 17000+ readers
Next.js 12.3 was released with great new features.
Many we already knew were coming.

What surprised me most is the new caching system of Next.js leveraging Vercel infra.

Worth checking this thread + link:


"This really unlocks the Edge" Image
Read 9 tweets
Feb 27, 2023
Different perspective πŸ€ͺ

"Mutability has great positives
But thinking immutability is bad may just mean some past patterns were problematic, and not that the entirety of immutable data is bad"

useMemo/useCallback will go away someday

I can agree, but maybe the pain is only temporary?

Maybe we shouldn't throw the immutability model because of short-term difficulties, and the platform should evolve to support better the immutable UI model

Things like Records & Tuples can greatly help

"make the right technical choice, and make the right long term choice"

I think the React team still follow this today

I can understand signals are appealing right now, but is it the way you want to write code in 10 years once the platform has improved?

Read 7 tweets
Nov 2, 2022
🧡 This Week In React

πŸ‘‰ Next.js 13
πŸ‘‰ Turbopack
πŸ‘‰ Remixing Shopify
πŸ‘‰ React-Three-Fiber Journey
πŸ‘‰ Gatsby Valhalla
πŸ‘‰ Full Stack Comps
πŸ‘‰ Rive
πŸ‘‰ Storybook
πŸ‘‰ React-Query
πŸ‘‰ Docusaurus
πŸ‘‰ Asta
πŸ‘‰ Expo 47
πŸ‘‰ TypeScript 4.9
πŸ‘‰ stc

... more by email βœ‰οΈ

🧡 Details πŸ‘‡
🧡 Intro

What a week 🀯

- Next.js conf: Next.js 13 + Turbopack
- Shopify acquires Remix
- Three.js Journey goes React
- Gatsby 5 releases Valhallah

Also testing a new format, do you like it?

βœ‰οΈ Subscribe by email - Much better!

revue.thisweekinreact.com

Sneak peek below πŸ‘‡
🧡 Next.js 13 - @vercel

New app/ directory: enables the new features and latest React 18 innovations like React Server Components and streaming

Nested layouts!

Turbopack: new alpha Rust bundler

Also improves image + font + link and many other things

nextjs.org/blog/next-13
Read 24 tweets
Oct 31, 2022
I'll do a thread with all the funny tweets I gathered for my React newsletter

Too much fun to not share 🀭

Just wondering if I should exclude non-React/frontend memes?

Should I include these? πŸ‘‡

Read 6 tweets
Sep 6, 2022
There are 16 hooks in React 😏 😈

And I bet you never used this one: useSyncExternalStore()

Used internally in state management libs, like Redux

But have you ever thought about using it in your own app code?

πŸ’‘ It could be useful & even prevent some React re-renders

πŸ‘‡ 🧡 Image
Let's start with a real-world problem.

Imagine you are using React-Router and call useLocation() in a few places

➑️ do some conditional rendering depending on pathname, hash, ?search query-string... Image
There are a few potential performance problems, for example:

- whenever you click on hash link, components reading only pathname will re-render ➑️ useless

- whenever you update the ?search querystring link, components reading only pathname or hash will re-render ➑️ useless
Read 13 tweets
May 4, 2022
🧡 This Week In React

πŸ‘‰ Click To Component
πŸ‘‰ Zag
πŸ‘‰ Why I don't miss React
πŸ‘‰ Next.js -> Remix
πŸ‘‰ Next.js ISR
πŸ‘‰ Next.js Router
πŸ‘‰ Component Party
πŸ‘‰ Convex
πŸ‘‰ Concurrent React
πŸ‘‰ Tilg
πŸ‘‰ RN 0.69 RC
πŸ‘‰ Expo 45
πŸ‘‰ RN-Skia, Graph
πŸ‘‰ TS Error Translator

More by βœ‰οΈ

Details πŸ‘‡ Image
🧡 Intro

Great week for React-Native: 0.69 RC, Expo 45, Skia...

New cool toys: Zag, Tilg, Click-To-Component, Convex, Component Party, TS Error Translator...

βœ‰οΈ A lot more links in the email
(a few nice TypeScript and Wasm ones)

ThisWeekInReact.com
🧡 Click To Component by @ericclemmons

Option+Click a React component in your browser to instantly open the source file πŸ‘Œ

Looks very convenient and easy to set up!

Only VS Code, but other IDE support possible
(there's already a PR for Intellij πŸ€—)

github.com/ericclemmons/c…
Read 21 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(