Sitemap
1 min readJun 15, 2020

You have to pay attention when using Context for state management because when the "Context State" changes, it causes the re-render of all the sub-Component of the ContextProvider.

This is not really performance efficient unless you use some mechanism to block useless re-renders.

Lorenzo Spyna
Lorenzo Spyna

Written by Lorenzo Spyna

💻Writes web2 and web3 code | 🚀 firenze.dev co-founder | 🥑 0xpolygon Advocate — https://spyna.it

Responses (1)