Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

⚛️ React optimization tip: break your context into chunks so only the updated parts re-render ↓

42,898 görüntüleme • 1 yıl önce •via X (Twitter)

11 Yorum

George Moller profil fotoğrafı
George Moller1 yıl önce

I've been working professionally with React for more than 8 years and I compiled all my knowledge into 100+ infographics and 70+ video tutorials just like this one. Check them out ↓

Matt Figdore profil fotoğrafı
Matt Figdore2 yıl önce

This is the biggest productivity cheat code right now. Kiss reading documents goodbye. You can get an instant summary of any document with this tool.

Kristian Veter profil fotoğrafı
Kristian Veter1 yıl önce

or use react compiler

Muhi Masri profil fotoğrafı
Muhi Masri1 yıl önce

This is an essential technique when scaling React applications. You could end up with a large tree of components updating due to a small state change.

Petar Ivanov profil fotoğrafı
Petar Ivanov1 yıl önce

Smaller contexts ⇒ Less reasons to change and rerender.

Toyyib 💙 profil fotoğrafı
Toyyib 💙1 yıl önce

@Rhoy__b @ibr9heem

Irshath profil fotoğrafı
Irshath1 yıl önce

you can also have separate context for methods and states to optimise it even more. I saw that implemented in bluesky app.

Blake 戴至诚 profil fotoğrafı
Blake 戴至诚1 yıl önce

Will this remain relevant with the React compiler?

syed faheem profil fotoğrafı
syed faheem1 yıl önce

Make one to optimise compound components. Despite memorizing referrence values and using callbacks for functions, i sometimes see a flicker

Tincho profil fotoğrafı
Tincho1 yıl önce

What theme is it?

Fabrizio profil fotoğrafı
Fabrizio1 yıl önce

I would personally avoid to use Context as much as possibile I explain my approach in this article

Benzer Videolar