When do I choose React state Vs Redux Store
If the state doesn’t need to be shared with other components, or the state doesn’t need to be keep when the component is unmounted, then you can just put it in the component’s state. You can think that the Redux store is the database of front-end, if you have something like product data fetched from … Read more