Category: IT Education
-
Redux vs Context API: When to use them DEV Community
In this case, our ‘counter’ was ‘incremented’, so we write the action type as ‘counter/incremented’. We may very well maintain the internal state of the components inside them, but as and when an application grows bigger, it may have to share some state between components. This is not just only to show them in the…