React Performance

Resources to help you write more performant react


Good article, but be careful, sometimes you get better performance from the component re-rendering than wrapping it in a useMemo, I suggest only using it on resource intensive components or when its needed to solve a bug, also I don’t entirely agree on the use of useCallback here, useState already provides cached management, but i might have misread something about why it was done this way in the article