I am currently stuck and unable to locate the error. After building my react application containing the react-tsParticles package, I noticed a immense worse performance after publishing it on my nginx-based webserver. While in local development performance is fine, but the performance when visiting the live page is bad and not comparable to other examples on the internet.
I am not interested in advertising my page, but this is the link to it. The Code can be found here on Github.
Any advice is appreciated :)
I had this problem too
there is a problem with the build tool or bundle file that occurs when using the npm run build
command.
also may be solved by changing the browserslist
in package.json
.
you can refer to this answer : https://stackoverflow.com/a/70625114/8730051