DEV Community 👩‍💻👨‍💻

Discussion on: React useContext and useReducer Hooks.

Collapse
 
korneldoe profile image
Kornel

Good point. Is there a way to use something to prevent the subscribed components to rerender if not needed? Thinking about something like memo where it does shallow comparison on props object?