This content originally appeared on DEV Community and was authored by Kmucheru
If you are a frontend developer using react-app (CRA) cease and desist!
I recommend using vite 'npm create vite@latest myapp' and proceed. Additionally, you can use Next.js. Rest assured that works best. Here's why.
Both of them support server side-rendering, which is essential for SEO especially in highly competitive spaces which is not supported by CRA. CRA mainly focuses on the client's side being rendered which doesn't really help when it comes to SEO. Kindly note that to index your site, search engine web crawlers need to read from the server. Another advantage of this is the speed that comes with it. Try create similar react apps using CRA and another using Vite and see for yourself.
Have a fantastic day!
This content originally appeared on DEV Community and was authored by Kmucheru
Kmucheru | Sciencx (2023-04-23T11:27:19+00:00) New tip for beginner react devs!. Retrieved from https://www.scien.cx/2023/04/23/new-tip-for-beginner-react-devs/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.