adrianhajdin / stack_overflow_nextjs14

Ultimate Next.js 14 Course
https://devflow-rose.vercel.app/
495 stars 65 forks source link

Page speed optimization #3

Open Lenur29 opened 9 months ago

Lenur29 commented 9 months ago

Hi, @adrianhajdin , First of all I want to thank you for your amazing work and opportunities you give us. I decided to learn Next.js and I think your course will be one of the best resource. But now, I want to ask your advice related to optimization for react applications(without Next.js). I noticed that you dedicated your time to increase the performance of your application up to 90 and more. If you have an opportunity to help me I'd be very thankful. I checked the page speed and it recommends to reduce unused Javascript. Here are the files. Especially I do not understand how to reduce unused code related to react-dom(I underlined it). This project was bootstraped with create-react-app and I did not add any configurations to webpack image

bahiensed commented 5 months ago

Hi @Lenur29, maybe you could read following articles to understand what is a minified file.

https://en.wikipedia.org/wiki/Minification_(programming) https://www.imperva.com/learn/performance/minification/

Hope it helps!