Ricky Profile picture
React Team @ Meta • Forbes 30 worst over 30 • Just a dev from Akron
Jan 18 6 tweets 1 min read
Let me simplify it Meme with two vertical panels. each panel shows a person walking left to right on a sidewalk in 4 steps, each step having text above it. The top panel is titled "SPA before" and the text is 1) bundle app.js and upload bundle to CDN. 2) client sends an HTTP request 3) cdn responds with HTML + js 4) client displays HTML + js. The bottom panel is titled RSC SPA and the text is 1) render app.js and upload bundle to CDN 2) client sends an HTTP request 3) cdn responds with HTML+js 4) client displays HTML + js Same meme, top panel is titled "SSR Before" and the text is 1) bundle app.js 2) client dend an HTTP request 3) SSR and respond with HTML + js 4) client displays HTML. Bottom panel is titled "RSC with Server" and the text is 1) client sends an HTTP request 2) render app.js 3) SSR and respond with HTML + js 4) client displays HTML + js
Jan 16 12 tweets 3 min read
There's a lot of talk about new server features of React, but here are some upcoming client features I'm excited about. You don’t need to know about these yet, but they're available in the canary, so I want to share them to show what’s coming for client-only React apps: use(Promise): this is a new hook that is the official API for suspending on the client. You can pass it a promise, and React will suspend on it until it resolves. This hook can be used by data fetching libraries to add official support for suspending

react.dev/reference/reac…
Mar 4, 2023 6 tweets 1 min read
I was always a big fan of the container components vs presentation components convention.

One way to think of React Server Components is that they move your container components to the server so you can pass server data as props to presentation/client components. Container components on client: fetch in effects, waterfalls, extra JavaScript, bad

Container components on server: fetch in render, no client waterfalls, minimal JavaScript, good
Dec 17, 2021 37 tweets 20 min read
Running a conference is even harder than I thought it would be and I probably would have collapsed from stress without the help of so many from the community.

Here's a thanks thread for React Conf 2021: Thanks to @acdlite for writing the overall script of the keynote multiple times until it was perfect. Thanks @_jstejada for working hard to explain Suspense perfectly. Thanks @sugarpirate_ for jumping in last minute to snap React 18 into place

Dec 15, 2021 4 tweets 1 min read
It's incredible how much healthier I eat when I'm not stressed Fit people are either super disciplined or super fortunate, there's no inbetween
Jun 9, 2021 30 tweets 9 min read
Now that we’ve announced the React 18 alpha, I’d like to share what I’ve been working on for the past year to give some insight into how research happens on the React Core Team to produce the features you see announced.

🧵 When I joined the React team, they were already a few years deep into research on concurrent features. I spent a lot of time reading and asking questions to get the context on what we already knew and where we wanted to go.
Jul 13, 2019 13 tweets 3 min read
10x shitposters

Followers if you ever come across this rare breed of tweeter, follow them. If you have a 10x shitposter as part of your first few follows, you increase the odds of your twitter success significantly

OK here is a tough question

How do you spot a 10x shitposter? 1. 10x shitposters hate thoughtleading. They think it is a waste of time and obvious things are being discussed. They attend threads because the thoughtleader has called for a "unpopular opinion meeting" to discuss the features and status.