How to make React fast(er) when your project is slow.

React is wonderful, but when there are performance issues it can be difficult to figure out why it’s chugging. Part of the problem is that, due to React’s declarative nature, the flame charts produced by the browser’s devtools doesn’t really help as they are dominated by React internal methods without any clear indicator of where the time is being spent:

unhelpful react flame

Here are a few quick tips on how to figure out where your pain points are and work around them (in no particular order):