4 ms·
This is starting to sound like the scope from Angular 1.
by thereare5lights 8y ago
This is starting to sound like the scope from Angular 1.
- pbedat 8y agoYep. That's why context should be used very very rarely or never. When I teach react, I try to make a long detour around them. I would not consider it being the most important concept. Its only a side effect model.
- munchbunny 8y agoContexts in React are like raw pointers in C++. There are reasons to use them, but every time you do, it should raise eyebrows, because they are finicky, complicated to reason about, and thus full of pitfalls.