In react, if we can split our logic into a custom hook (which contains state), why don't we move all our states into 1 main file and have access to it just like how it's done in redux?🤔
In react, if we can split our logic into a custom hook (which contains state), why don't we move all our states into 1 main file and have access to it just like how it's done in redux?