Redux Gotchas — useSelector
Prevent unexpected re-rendering and potential bugs
Published in
6 min readDec 16, 2022
Introduction
Redux has been around since 2015 and has been the de facto state management solution for a number of years. It has accompanied React ecosystem from class-based to the functional era, and has evolved to adapt to newer standards by introducing redux hooks since v7.1.0.