Epic React V2

Provider Component

(See readme.mdx)

Creating a provider component means that changes to the context value do not necessarily cause all of the provider's children to re-render.

To test it start recording and click on the buttons to change the footer color and name. You should see that the footer re-renders but the main count does not.

Set the footer color:

Set the footer name:

I am the (black) footer, Unnamed