4 ms·
So in order to understand not only the basics of the rule, but also the underlying implementation and exactly in what way it would crash, it may require more th
by cnity 6y ago
So in order to understand not only the basics of the rule, but also the underlying implementation and exactly in what way it would crash, it may require more than a paragraph. I'll concede that. But this is common in programming. As an example, you'd probably spend some time understanding exactly why it is you can't free a pointer twice in C.
There's nothing stopping someone from reading the explanation in the React docs[0] if they want to understand.
[0] https://reactjs.org/docs/hooks-rules.html#explanation https://reactjs.org/docs/hooks-rules.html#explanation