Redux
Create
Log in
Sign up
Roadmap
Feedback
Feature Requests
Voters
sara raj
Powered by Canny
1
Reducer JSON pattern instead of switch case.
sara raj
I have suggestion why don't we setup reducer as JS object instead of switch case implementation like the one i attached in the image. This way there will be a little boost in the performance as iterating through object is faster than a switch.
September 15, 2018
Powered by Canny