Do I need to keep all my state into Redux? Should I ever use react internal state?
- Yes, you should always use Redux to manage all of your application state
- No, you should never use Redux and always use React internal state
- It depends on the complexity and size of your application
- It depends on whether you are using class or functional components
Whether or not to use Redux to manage state in a React application depends on the complexity and size of the application. For small and simple applications, it may be sufficient to use React's internal state management. However, for larger and more complex applications, Redux can be a helpful tool for managing application state.
Loading...