DEV Community

Cover image for New tip for beginner react devs!
Kmucheru
Kmucheru

Posted on

New tip for beginner react devs!

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!

Top comments (0)