3 ms·
> However, we had a long discussion with one programmer who insisted it was a bad idea because of "premature optimization", the fact that React docs does not ha
by therein 2y ago
> However, we had a long discussion with one programmer who insisted it was a bad idea because of "premature optimization", the fact that React docs does not have recommendations about it, and "nobody does it that way". In my opinion, this was a clear case of a programmer resisting the system approach because he wanted to spend time fixing the same problems over and over and pretend to be working hard.
Author has some serious issues he needs to work on. Also probably should delete this post because it looks embarrasing.
He wanted to memoize everything returned by React hooks as a kneejerk response. I don't even have anything to compare it to. It is plain silly.