jestjs / jest

Delightful JavaScript Testing.
https://jestjs.io
MIT License
44.28k stars 6.47k forks source link

[Docs]: Replace "Setup with Create React App" section #15370

Open sebastiancarlos opened 1 week ago

sebastiancarlos commented 1 week ago

Page(s)

https://jestjs.io/docs/tutorial-react#setup-with-create-react-app

Description

The React Tutorial page currently says:

Setup with Create React App

If you are new to React, we recommend using Create React App. It is ready to use and ships with Jest!

The React website changed its recommendation to frameworks like Next.js. However, it also mentions non-framework tools like Vite and Parcel.

Altough those tool don't have such nice documentation regarding unit tests and Jest, I think it would be good to change to them since Create React App is all but deprecated (last release in 2022.)

I would recommend cross linking to the Jest docs for Using Vite and Using Parcel.

Thanks!