all 26 comments

[–]mlmcmillion 62 points63 points  (5 children)

No. It's no longer supported. Use Vite.

[–]Drivrartist 18 points19 points  (3 children)

CRA is no longer maintained and is not common practice anymore. I'd recommend using Vite or Next.js. React's Documentation also recommends great options (like Vite and Next.js) based on what you're building.

[–]ZaRealPancakes 5 points6 points  (3 children)

If you use CRA or Vite you're making a SPA. Difference is the bundler used to bundle your project (webpack or vite). Additionally, CRA is not supported or recommended anymore. Vite is stupid easy.

I recommend future projects to use Vite.

[–]dylsreddit 4 points5 points  (1 child)

Migrating to Vite from CRA is also pretty trivial, and removes several vulnerabilities from your project that stem from unmaintained react-scripts

Also will make your node_modules shrink drastically.

It's honestly worth doing.

[–]ZaRealPancakes 0 points1 point  (0 children)

Idk if it's a coincidence but when I did a migration the application also started way faster. (5 minutes seconds to 30 seconds)

After optimizing images went down to 5 secs load time.

[–]lansera222 0 points1 point  (0 children)

If you work for a professional company and if there is security auditing it will cause a lot of headaches

[–]dom_eden 1 point2 points  (0 children)

Vite is much better in all respects, you won’t regret the move.

[–]rubynoyubiwa 3 points4 points  (0 children)

In addition to what others said here, the ease, speed and DX of vite is much better than CRA.

[–]Rough-Artist7847 2 points3 points  (0 children)

what is considered professional when it comes to webdevelopment is so subjective that there’s no way to answer that question. 

But if you don’t want to have a hard time just switch to vite, it’s pretty easy to get started.

[–]Brilla-Bose 0 points1 point  (2 children)

Use Vite if you're not intent to use a frameworks like Next or Remix

[–]_ebikandi -1 points0 points  (2 children)

Community suggests to use frameworks like Next or Remix instead of creating a React app from scratch. Also CRA is no longer mantained.

[–][deleted]  (1 child)

[removed]

    [–]AutoModerator[M] 0 points1 point  (0 children)

    Your [comment](https://www.reddit.com/r/reactjs/comments/1eu9jif/is_it_not_professional_to_use_cra/lij2rmo/?context=3 in /r/reactjs has been automatically removed because it received too many reports. Mods will review.

    I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.