Fun fact: React doesn’t really “keep” class state in this.state. React keeps it internally (in the same place it now keeps state of Hooks) and assigns this.state before a component renders.
-
-
Actually your tweet just made me think about what people that talk about magic are really getting at. They're talking about whether they have a mental model that helps them to understand their code. And as you point out their mental models are wrong in many cases!
-
Maybe what's important is just the illusion of understanding. Or that the abstractions are a bit like the London Underground tube map (physically incorrect but helpful when getting around.)
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
