I just started using Redux , and like any developer, I am concerned about performance . The Redux documentation says that whenever an action starts, all reducers go through the search for the corresponding action function using the switch statement.
Now suppose we have a huge application with many actions. Whenever one of them trips, all gearboxes will pass. Apparently, almost all gearboxes are not needed for this action, but Redux will cross them, even if they have nothing to do with the initiated action. How can this be effective?
source
share