Answer the question
In order to leave comments, you need to log in
Does it make sense to use Redux for small applications?
Or not only redux, but any state manager.
To begin with, I don’t have much experience with React, I have never used redux in production at all. Currently, an application consisting of 5 microfrontends is in operation, more will be added in the future.
So, in each of the microfronts, of course, there are their own states, and there they work with 1 (maximum 2) entities.
By convention, user and settings.
Right now it uses React Context and useReducer.
For the sake of interest, I tested how it would work with redux and, to be honest, I was somehow not impressed, due to the fact that in the process of work different events are dispatched (pending, fulfilled, rejected) where there used to be one render - now there are two, otherwise and three.
Answer the question
In order to leave comments, you need to log in
When Should You Use Redux?
Redux is ideal for medium to large applications. It should be used only in cases where it is not possible to manage the state of the application using the standard state manager in React or any other library.
Simple apps don't need Redux.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question