4 ms·
For us the problem with hooks is that we have a lot of complex state that can be shown in different components. So global stores are a must. But then bugs in th
by _0w8t 5y ago
For us the problem with hooks is that we have a lot of complex state that can be shown in different components. So global stores are a must. But then bugs in the hooks can be hard to debug. Also lack of forceUpdate for hooks causes to use artificial state counters complicating the code. Basically with external state class components are more straightforward to write and easier to maintenance .