Thank you for the wonderful and in-depth explanation.
I apologize for posting this comment a bit late. However, I would like to mention an issue I encountered. I believe that before starting the server, it is necessary to perform the build process, correct? I faced an issue stating 'module not found' initially. However, once I performed the build and then started the server, everything worked fine. Please confirm if I interpreted it correctly.
Hi @nithincp when starting the server by running npm run start or npm start for short it is not necessary to build first. The npm run build command just creates an optimized version of your React code and bundles all your React files (code) into one JavaScript file that is sent to your index.html file, This should have no effect on your development environment.
I don't think it worked because you ran the build command because it should work even without it
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thank you for the wonderful and in-depth explanation.
I apologize for posting this comment a bit late. However, I would like to mention an issue I encountered. I believe that before starting the server, it is necessary to perform the build process, correct? I faced an issue stating 'module not found' initially. However, once I performed the build and then started the server, everything worked fine. Please confirm if I interpreted it correctly.
Hi @nithincp when starting the server by running
npm run startornpm startfor short it is not necessary to build first. Thenpm run buildcommand just creates an optimized version of your React code and bundles all your React files (code) into one JavaScript file that is sent to yourindex.htmlfile, This should have no effect on your development environment.I don't think it worked because you ran the build command because it should work even without it