This week in React (actually 2 weeks πŸ€ͺ)

πŸ‘‰ Special React-Server-Components
πŸ‘‰ Inside React core team
πŸ‘‰ Expo Go
πŸ‘‰ Ignite v6
πŸ‘‰ ReactNative @ Wix
πŸ‘‰ Volta v1
πŸ‘‰ xstyled v2
πŸ‘‰ Moiva
πŸ‘‰ Mythical β€œfast” web page
πŸ‘‰ Typo tolerance

🧡🧡🧡 Details πŸ‘‡πŸ‘‡πŸ‘‡
The @reactjs core team published the state of their R&D about React Server Components, allowing to run some components on the server, and reduce the overhead of shipping some client-side code.

There's a video and a RFC here:

reactjs.org/blog/2020/12/2…
This is an illustration of what could be possible in the future.

Don't worry, React is not becoming like PHP, and it's not because you can that you should.

(In the same way, you could implement a React app in a single very fat component)

The annotated guide to React Server Components by @swyx is interesting if you prefer a post instead of the video.

It also gives additional context on how we got there

swyx.io/react-server-c…
The post of @addyosmani is a good summary of what's interesting in server components:

addyosmani.com/blog/react-ser…
With server components, we now need a... server.

Hopefully, serverless solutions are becoming better and better.

So, scaling servers might not be a problem (unless you self-host?)

Server components already run on @vercel , in this demo from @shuding_

github.com/vercel/next-se…
Next.js @vercel will definitively support server components.

This makes total sense for Next.js to be able to seamlessly move code from client to server, from SSR to SSG...

The demo is less impressive, but @Netlify serverless env can also run React Server Components.

People found similarities between Phoenix LiveView and React-Server-Components.

At the same time, Ruby on Rails creator @dhh released hotwire.dev

It seems like we have a trend here
React Server Components vs. Hotwire vs. Phoenix LiveView

This podcast episode with @jaredpalmer and @ken_wheeler looks very interesting (didn't listen yet, but definitively will soon)

Inside the React Core team by @rachelnabors

A "behind the scene", intimate post about our favorite core team

react.christmas/2020/24
Last major version of Flux (v4), released by @yangshunz

There are better alternatives now, like Redux, but pretty sure some codebases are still using it πŸ€ͺ

React >= 17 allow mixing different React versions, could be useful for incremental migrations

github.com/facebook/flux/…
xstyled v2 has been released by @neoziro , built on top of sc/emotion.

An interesting alternative to Tailwind, if you prefer using props instead of concat classNames.

Reminds me theme-ui and glamorous

xstyled.dev
About ReactNative, @expo now supports creating organizations.

Long-awaited feature for freelancers working with multiple customers :)

blog.expo.io/expo-organizat…
The ReactNative boilerplate Ignite v6 has been released by @infinite_red

It looks slimmer and simpler than before.

Also ships by default with @expo unimodules!
Even if you don't use Expo managed workflow!

shift.infinite.red/introducing-ig…
The @expo client has been renamed "Expo Go" to avoid confusion when communicating.

Makes sense: makes sense, as in the future, any RN project will be able to use an Expo-like DX, by building a custom Expo client.

blog.expo.io/expo-go-a-new-…
ReactNative @ Wix, part 3, by @omribruchim

Deep dive on the modular architecture based on Wix engine, allowing 100+ devs to collaborate

medium.com/wix-engineerin…
ReactNative @ Wix, part 4, by @GcCarmeli

Benefits and challenges of open-sourcing things by default.

Include various examples of libs maintained by Wix (and they have a lot of them)

medium.com/wix-engineerin…
I like interactive articles (please send me yours)

This one from @tomekdev_ about client-side search algo and typo tolerance is pretty cool.

tomekdev.com/posts/search-w…
To manage your NodeJS versions, @usevolta was just released in v1.0

It is a nice alternative to NVM, which apparently is much faster according to many feedbacks.

blog.volta.sh/2020/12/21/ann…
moiva.io by @_aantipov is a nice tool to explore trends.

It provides more graphs than NPM trends.
The mythical β€œfast” web page

calendar.perfplanet.com/2020/the-mythi…

@rick_viscomi explains: "It’s not that the page is fastβ€”the experience is fast."

Give interesting insights about lab vs field performance tools.

Note: @vercel recently announced Vercel Analytics (field tool category)
THE END!

πŸ™ Don't forget to RT, it keeps me motivated πŸ™

Previous editions here:

Twitter thread based on my french React newsletter:

getrevue.co/profile/sebast…

β€’ β€’ β€’

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

Keep Current with Sebastien Lorber πŸ‡«πŸ‡·

Sebastien Lorber πŸ‡«πŸ‡· 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

21 Dec 20
This week in React

πŸ‘‰ React 2025
πŸ‘‰ Next for Vercel
πŸ‘‰ Vercel Virtual-Event-Starter-Kit
πŸ‘‰ Cloudflare Pages
πŸ‘‰ Meli
πŸ‘‰ Expo Application Services
πŸ‘‰ RN SwiftUI renderer
πŸ‘‰ React pragma
πŸ‘‰ Framer Motion
πŸ‘‰ React-Query 3
πŸ‘‰ RadixUI
πŸ‘‰ Modular
πŸ‘‰ EStimator
...

🧡🧡🧡 Details πŸ‘‡πŸ‘‡πŸ‘‡
React 2025 is a free course created by @leeerob

You'll build a real SaaS app, using a modern tech stack using Next.js, Firestore, Chakra, SWR, MDX, Stripe...

This looks interesting and different from other courses available.

react2025.com
After Vercel 40m$ series B announcement, @rauchg tells us what's Next for Vercel, and the future looks bright.

Core Web Vitals will likely become a very important indicator in May 2021 for SEO, and Vercel will give us the tools to do the right things

rauchg.com/2020/next-for-…
Read 19 tweets
16 Nov 20
What interested me this week❓

πŸ‘‰ React: Chakra, security, device-based code-splitting
πŸ‘‰ ReactNative: at Wix / ProductHunt, React-Navigation v6, Expo Application Services...
πŸ‘‰ TypeScript: at Bloomberg
πŸ‘‰ No-JS
πŸ‘‰ No-Else
πŸ‘‰ No-pipeline
πŸ‘‰ ...

🧡🧡🧡 Details πŸ‘‡πŸ‘‡πŸ‘‡
A nice React security cheatsheet has been posted by @ronperris from @snyksec, with 10 best practices

snyk.io/blog/10-react-…
Chakra UI v1 has been released, congratz to @thesegunadebayo for his popular accessible UI library.

Read 21 tweets
26 Oct 20
What interested me this week:
- Releases: React 17, CRA 4, Node 15
- React compared to Svelte and Vue
- Skypack quality score
- HTTP/3 support spreading
- Framer Motion page transitions
- ...

🧡🧡🧡Details πŸ‘‡πŸ‘‡πŸ‘‡
React 17

No new feature, but the ability to use 2 versions of React in the same app and simplify gradual updates.

Changes to the event delegation model, and the new JSX transform.

reactjs.org/blog/2020/10/2…
Create-React-App 4.0

- Fast Refresh
- React 17 (with new JSX transform)
- ESLint 7
- Typescript 4
- Jest 26
- ...

github.com/facebook/creat…
Read 15 tweets
24 Jul 20
@docusaurus This is a big Docusaurus release, with a lot of improvements.

Thanks to the many contributors to this release, in particular, the @MLHacks fellowship folks.

Here are some highlights

πŸ‘‡πŸ‘‡πŸ‘‡
@docusaurus @MLHacks PWA support, with @workboxjs service workers

With the ability to install the documentation websites and browse them 100% offline
@docusaurus @MLHacks @workboxjs Docusaurus is one of the first to integrate the new @algolia DocSearch v3 experience

The search dropdown is replaced by a fullscreen modal with dark mode support, keyboard shortcuts, favorite docs...
Read 9 tweets
29 Sep 19
After using hooks for a while, and being familiar with the stale closure problem, I don't really understand why we need to handle closure dependencies, instead of just doing something like the following which always executes latest provided closure (capturing fresh variables)
Coupling the dependencies of the closure and the conditions to trigger effect re-execution does not make much sense to me. For me it's perfectly valid to want to capture some variables in the closure, yet when those variables change we don't necessarily want to re-execute
Note that the above code is already used in major frameworks like Formik by @jaredpalmer and probably some others too. Here's a reference:
github.com/jaredpalmer/fo…
React-redux seems to use something a bit similar here: github.com/reduxjs/react-…
Read 14 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

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

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!