
React Design Patterns with Samaila Bala - RRU 181
React Round Up
00:00
Can It Cause Performance Issues?
If you have multiple components that are all consuming it and changing variables on it, every time one of those children components changes context, it will cause the whole apt to re render. Can sometimes be a performance issue, depending on how data heavy your application might be. So go ahead and wrap it high up and make sure that everything has access at the beginning. Then if you need to for performance reasons, you can always go back and refact is later on.
Transcript
Play full episode