39 ms·
> React has also been using classes for a long time And this > (although the trend is to move away from them for performance and simplicity reasons) Make me
by preommr 7y ago
> React has also been using classes for a long time
And this
> (although the trend is to move away from them for performance and simplicity reasons)
Make me very frustrated because things like react became very popular for their simplicity. I read the reasoning the react team gave for hooks and I am not sure it justifies having such vastly different way of building components.
- asark 7y agoHooks are the biggest WTF for me in React-land, which is saying something. Classes and inheritance can lead to bad situations sometimes if you use them wrong, so we'll write our own method & property lookup table with a joke UI, then just not implement inheritance so that problem doesn't come up. I mean... what?