ucsdscheduleplanner / UCSD-Schedule-Planner

A project to help UCSD students plan their schedules quickly and easily.
https://sdschedule.com/
MIT License
7 stars 2 forks source link

Package together redux updates so it updates don't cause unnecessary rerenders #44

Open CTrando opened 5 years ago

CTrando commented 5 years ago

Currently, in order to make the code more declarative, we use multiple dispatches when realistically it could be grouped together in one big dispatch. However, declarative code makes it easier to understand, so we should not make one big dispatch, rather we should look into middleware that can batch redux updates together to avoid rerendering components every time dispatch is called.