5 ms·
The this.setstate spamming and lack of using something like the PureComponent class show that the author either is bad at coding in class based react or intent
by mharroun 7y ago
The this.setstate spamming and lack of using something like the PureComponent class show that the author either is bad at coding in class based react or intentionally making it look worse.
Disclaimer: got nothing against hooks but hate false examples.