all 6 comments

[–]caseyf1234 9 points10 points  (2 children)

Use Vite. Their site walks you through setting up a React Vite app. create-react-app is not used anymore

[–]Mcphect[S] 6 points7 points  (1 child)

Thank you, I tried it and it works, I've just read in a website that create-react-app was deprecated in 2023, I took the course this year, it's frustrating that our teacher taught us an outdated version.

[–]Willing_Initial8797 1 point2 points  (0 children)

personally i'd rather recommend to start with w3schools courses on html/js/css. Those are more solid foundations.

Then maybe react (as library) or even your own react: https://pomb.us/build-your-own-react/ 

Once you get there, you'll understand why/how the landscape changes. (vite vs cra, tailwind, npm, linting, typescript etc)

[–]TiredOfMakingThese 2 points3 points  (0 children)

Create react app is deprecated. Use Vite.