Загрузка видео...

Не удалось загрузить видео

На главную

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

42,898 просмотров • 1 год назад •via X (Twitter)

Комментарии: 11

Фото профиля George Moller
George Moller1 год назад

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
Matt Figdore2 лет назад

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
Kristian Veter1 год назад

or use react compiler

Фото профиля Muhi Masri
Muhi Masri1 год назад

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
Petar Ivanov1 год назад

Smaller contexts ⇒ Less reasons to change and rerender.

Фото профиля Toyyib 💙
Toyyib 💙1 год назад

@Rhoy__b @ibr9heem

Фото профиля Irshath
Irshath1 год назад

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

Фото профиля Blake 戴至诚
Blake 戴至诚1 год назад

Will this remain relevant with the React compiler?

Фото профиля syed faheem
syed faheem1 год назад

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

Фото профиля Tincho
Tincho1 год назад

What theme is it?

Фото профиля Fabrizio
Fabrizio1 год назад

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

Похожие видео