Answer the question
In order to leave comments, you need to log in
React Redux vs Global state hooks? What's better?
I have seen the global state implementation using hooks and my question is which one is better to use? Redux vs use-global-hook ? It seems very easy to manage with a global hook, but what about performance? What are the advantages, disadvantages over redux?
Answer the question
In order to leave comments, you need to log in
Somewhere I read an article. And as far as I remember and I understand myself, global state hooks, it's so indulgent, because it turns out to be an unoptimized thing that will lead to a lot of re-renders. I didn’t specifically understand this issue, but I think so) why reinvent the wheel if it was invented a long time ago)
PS One of my colleagues told me recently that Mobx will be better than Redux, but it’s true, information that I have not verified)
If I find that article, then I’ll throw it off here, there are described all the disadvantages of the store option through hooks
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question