Reputation: 1674
It is clear that improving performance of application is depends. However, I think there are some cases that you can imporove your application. In my case I have replaced my similar components to HOC. Any other suggestions ?
Upvotes: 3
Views: 822
Reputation: 2558
If you are developing your web apps on Chrome, its Developer tools has a section called Audits.
The audits are run for many scenarios like image loading, no-JS support, no internet, time for 1st meaningful paint etc. It gives you a performance score at the end.
Run your React app, open Developer Tools and Go to 'Audits'. Choose the target platform (Mobile/Desktop) and run the Audit.
In the end, you will see a list of things that can be improved in your App. Very handy tool.
Upvotes: 1
Reputation: 118
One of the key point in performance would be the size of JS to be parsed and the number of DOM operations which are made by the same.
With exponential growth in the number of components, LOC will grow with it.
Primary solutions recommended to it would be to
Upvotes: 1