Should I store all state in Redux?

Some users prefer to keep every single piece of data in Redux, to maintain a fully serializable and controlled version of their application at all times . Others prefer to keep non-critical or UI state, such as “is this dropdown currently open”, inside a component’s internal state. Using local component state is fine.

Sizin İçin Seçtik  What is React VS Redux?

Leave a Reply

Your email address will not be published. Required fields are marked *