In the case of React-Redux, we do a _lot_ of work to check the derived values you've extracted from the Redux store, and prevent your own component from re-rendering unless those values have changed.
See my post "The History and Implementation of React-Redux" for more details:
https://blog.isquaredsoftware.com/2018/11/react-redux-histor...