filmov
tv
React Internals Deep Dive 9 - How does Context API work internally?

Показать описание
Context API is very handy to pass down data, but remember it causes all the children to rerender again.
This video explains how Context Works by debugging.
The implementation is not difficult, we need a stack to hold the possible multiple context provider, push when met, pop when completes.
Hi I'm a JavaScript engineer who is not good at algorithms,
and currently practicing leetCode & BFE.dev. If you are interested, maybe we can learn together.
This video explains how Context Works by debugging.
The implementation is not difficult, we need a stack to hold the possible multiple context provider, push when met, pop when completes.
Hi I'm a JavaScript engineer who is not good at algorithms,
and currently practicing leetCode & BFE.dev. If you are interested, maybe we can learn together.