You should always begin my measuring the performance of your code. Sometimes seemingly “simple” code can be the cause of your app slowing down. Measure the performance of your React code with the tools it has to offer before diving into optimizing it.