A simple demo of how useCallback works
This is how
In the callback defined on line 🙄, the function body increases the count by 1. We set the dependency list to be
shallChange. This way, the count will not increase unless
shallChange gets a different value.