Seb βš›οΈ ThisWeekInReact.com Profile picture
Feb 1, 2022 β€’ 21 tweets β€’ 43 min read β€’ Read on X
🧡 This Week In React

πŸ‘‰ Remix + web
πŸ‘‰ MDX 2
πŸ‘‰ React + lifetime analysis
πŸ‘‰ Schema Form System
πŸ‘‰ React Quick Start docs
πŸ‘‰ Story of React
πŸ‘‰ Debugging
πŸ‘‰ RN Usage Tracker
πŸ‘‰ Porting tsc to Go
πŸ‘‰ Deno 2021
πŸ‘‰ Error Cause
πŸ‘‰ Trailing Slash

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

🧡 Details πŸ‘‡
🧡 Intro

Calm week for React & React-Native

Still interesting for the ecosystem, converging to std web APIs: Remix, Deno, Node.js fetch() + JSON modules...

βœ‰οΈ Subscribe by email or read this online (more content inside)
➑️ ThisWeekInReact.com
🧡 @remix_run: Not Another Framework!

@ryanflorence explains it's 100% worth learning Remix, based on std web APIs

Knowledge: transferable
Like JS knowledge acquired while writing JSX

Personal hot take: Remix could be the gateway to upgrade us to Deno

remix.run/blog/not-anoth…
@remix_run @ryanflorence 🧡 MDX v2 by @wooorm

Who doesn't like MDX?
The best way to create interactive blog posts

Most exciting to me:
- improved syntax to interleave md / JSX
- perf improvements
- any JSX runtime

mdxjs.com/blog/v2/
@remix_run @ryanflorence @wooorm 🧡 Lifetime Analysis for React Component Architecture

Alan explains a methodology to choose where to declare React state

I think I do exactly this, intuitively

Inspired by Rust's lifetime analysis (not requiring Rust knowledge)

valand.dev/blog/post/from…
@remix_run @ryanflorence @wooorm 🧡 Creating a Schema-Based Form System

@taniarascia shared how to render a dynamic form based on a JSON schema

An example is using Formik/Yup, but it's more about the technique than those impl libs

Useful if a CMS or backend sends such dynamic schema

taniarascia.com/schema-based-f…
@remix_run @ryanflorence @wooorm @taniarascia 🧡 New React Quick Start docs (beta) by @dan_abramov

One small page gives a really nice and concise overview of all the important React concepts to learn first

beta.reactjs.org/learn
@remix_run @ryanflorence @wooorm @taniarascia @dan_abramov 🧡 The Story of React

@tylermcginnis does a great React retrospective with this funny video

From JQuery/Backbone days to Next.js and Remix

@remix_run @ryanflorence @wooorm @taniarascia @dan_abramov @tylermcginnis 🧡 Pause Your React App with Breakpoints

@asidorenko_ presents visually how to use a debugger on React code

For those of you still using console.log 😏 it's really worth learning this once for all

alexsidorenko.com/blog/debug-rea…
@remix_run @ryanflorence @wooorm @taniarascia @dan_abramov @tylermcginnis @asidorenko_ 🧡 Thread pause 😜

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

More content, better insight πŸ‘Œ

Take a look at any online edition πŸ˜‰

➑️ ThisWeekInReact.com
@remix_run @ryanflorence @wooorm @taniarascia @dan_abramov @tylermcginnis @asidorenko_ 🧡 React Zorm by @esamatti

New form library based on uncontrolled inputs + Zod

Follow the trend of being based on web APIs, nice integration with Remix

github.com/esamattis/reac…
@remix_run @ryanflorence @wooorm @taniarascia @dan_abramov @tylermcginnis @asidorenko_ @esamatti 🧡 React Native Version Usage Tracker by @nick_gerleman

TIL there's a tool to track usage of React-Native per version

Might help you figure out if you are late
+ convince your boss it's time to upgrade 😏

Also tracks @expo SDK versions

rn-versions.github.io
@remix_run @ryanflorence @wooorm @taniarascia @dan_abramov @tylermcginnis @asidorenko_ @esamatti @nick_gerleman @expo 🧡 Porting tsc to Go

@kdy1dev, author of SWC, wants to remove the tsc bottleneck

Loves Rust, tried rewrite (POC x62 perf) but it's too much work: rewrite ➑️ port

tsc codebase: easier to port in Go than Rust (shared mutability)

Exciting future plans!

kdy1.dev/posts/2022/1/t…
@remix_run @ryanflorence @wooorm @taniarascia @dan_abramov @tylermcginnis @asidorenko_ @esamatti @nick_gerleman @expo @kdy1dev 🧡 Deno in 2021 by @AaronOMullan @biwanczuk

Retrospective with some important Deno milestones:
- Deno Deploy: isolates at edge
- optimized core
- foreign function interface
...

Most exciting to me as a React dev
- web compat
- node.js compact mode

deno.com/blog/deno-in-2…
@remix_run @ryanflorence @wooorm @taniarascia @dan_abramov @tylermcginnis @asidorenko_ @esamatti @nick_gerleman @expo @kdy1dev @AaronOMullan @biwanczuk 🧡 Node.js debugging and error handling with Error Cause

Nice intro to the new Error Cause feature by @FattaliMoaad

You know I like this one 😏 this will be so helpful to troubleshoot many problems

Available starting Node.js 17.3

medium.com/ovrsea/power-u…
@remix_run @ryanflorence @wooorm @taniarascia @dan_abramov @tylermcginnis @asidorenko_ @esamatti @nick_gerleman @expo @kdy1dev @AaronOMullan @biwanczuk @FattaliMoaad 🧡 Trailing Slashes on URLs: Contentious or Settled?

Trailing slashes are complicated and non-std:
- depends on output: /path/index.html VS /path.html
- depends on host behavior

@zachleat presented nicely the analysis I did for Docusaurus πŸ‘Œ thanks

zachleat.com/web/trailing-s…
@remix_run @ryanflorence @wooorm @taniarascia @dan_abramov @tylermcginnis @asidorenko_ @esamatti @nick_gerleman @expo @kdy1dev @AaronOMullan @biwanczuk @FattaliMoaad @zachleat @adamwathan @reinink 🧡 Turborepo 1.1 by @jaredpalmer

Adoption is going strong for this new monorepo tool, > 70k weekly dl

This new version provides nice additions like the ability to declare which env variables you depend on in the build pipeline

turborepo.org/blog/turbo-1-1…
@remix_run @ryanflorence @wooorm @taniarascia @dan_abramov @tylermcginnis @asidorenko_ @esamatti @nick_gerleman @expo @kdy1dev @AaronOMullan @biwanczuk @FattaliMoaad @zachleat @adamwathan @reinink @jaredpalmer 🧡 The TypeScript converging point

@ddprrt explains how to bring type-safety to the CLI commander package, based on string args

Can we express every JavaScript program through TypeScript types? => Not yet

fettblog.eu/slides/the-typ…
🎬 THREAD END! 🧡

πŸ™ Support me πŸ™

βœ‰οΈ Subscribe: ThisWeekInReact.com

🐦 Retweet

β€’ β€’ β€’

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!

:(