docs: remove deprecated 'Setup with Create React App' guide (#15882)
Summary
This PR addresses the outdated guidance regarding the setup of Jest with React projects.
The Create React App (CRA) is no longer actively maintained and is considered deprecated. This change removes the dedicated "Setup with Create React App" section from website/docs/tutorial-react.md and replaces it with a cautionary note directing users to modern alternatives like Vite or Next.js.
It also renames the "Setup without Create React App" section to "Manual Setup" to promote it as the default configuration guide.
Test plan
Since this change is purely documentation (Markdown) and does not involve changing any source code, no new tests were added.
I confirmed that:
The relevant section was removed from website/docs/tutorial-react.md.
The resulting Markdown file renders correctly, showing the new caution block regarding CRA's deprecation.
The dependencies were installed successfully using npm exec yarn install.
Deploy Preview for jestjs ready!
Built without sensitive environment variables
| Name | Link |
|---|---|
| Latest commit | 09f5af39fc5785410d067e17423b9842c09d4fb6 |
| Latest deploy log | https://app.netlify.com/projects/jestjs/deploys/690e87f61c682900089be791 |
| Deploy Preview | https://deploy-preview-15886--jestjs.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify project configuration.
- :x: - login: @harielfr / name: Enzo Hariel Ferreira Gaspar . The commit (09f5af39fc5785410d067e17423b9842c09d4fb6) is not authorized under a signed CLA. Please click here to be authorized. For further assistance with EasyCLA, please submit a support request ticket.
babel-jest
npm i https://pkg.pr.new/babel-jest@15886
babel-plugin-jest-hoist
npm i https://pkg.pr.new/babel-plugin-jest-hoist@15886
babel-preset-jest
npm i https://pkg.pr.new/babel-preset-jest@15886
create-jest
npm i https://pkg.pr.new/create-jest@15886
@jest/diff-sequences
npm i https://pkg.pr.new/@jest/diff-sequences@15886
expect
npm i https://pkg.pr.new/expect@15886
@jest/expect-utils
npm i https://pkg.pr.new/@jest/expect-utils@15886
jest
npm i https://pkg.pr.new/jest@15886
jest-changed-files
npm i https://pkg.pr.new/jest-changed-files@15886
jest-circus
npm i https://pkg.pr.new/jest-circus@15886
jest-cli
npm i https://pkg.pr.new/jest-cli@15886
jest-config
npm i https://pkg.pr.new/jest-config@15886
@jest/console
npm i https://pkg.pr.new/@jest/console@15886
@jest/core
npm i https://pkg.pr.new/@jest/core@15886
@jest/create-cache-key-function
npm i https://pkg.pr.new/@jest/create-cache-key-function@15886
jest-diff
npm i https://pkg.pr.new/jest-diff@15886
jest-docblock
npm i https://pkg.pr.new/jest-docblock@15886
jest-each
npm i https://pkg.pr.new/jest-each@15886
@jest/environment
npm i https://pkg.pr.new/@jest/environment@15886
jest-environment-jsdom
npm i https://pkg.pr.new/jest-environment-jsdom@15886
@jest/environment-jsdom-abstract
npm i https://pkg.pr.new/@jest/environment-jsdom-abstract@15886
jest-environment-node
npm i https://pkg.pr.new/jest-environment-node@15886
@jest/expect
npm i https://pkg.pr.new/@jest/expect@15886
@jest/fake-timers
npm i https://pkg.pr.new/@jest/fake-timers@15886
@jest/get-type
npm i https://pkg.pr.new/@jest/get-type@15886
@jest/globals
npm i https://pkg.pr.new/@jest/globals@15886
jest-haste-map
npm i https://pkg.pr.new/jest-haste-map@15886
jest-jasmine2
npm i https://pkg.pr.new/jest-jasmine2@15886
jest-leak-detector
npm i https://pkg.pr.new/jest-leak-detector@15886
jest-matcher-utils
npm i https://pkg.pr.new/jest-matcher-utils@15886
jest-message-util
npm i https://pkg.pr.new/jest-message-util@15886
jest-mock
npm i https://pkg.pr.new/jest-mock@15886
@jest/pattern
npm i https://pkg.pr.new/@jest/pattern@15886
jest-phabricator
npm i https://pkg.pr.new/jest-phabricator@15886
jest-regex-util
npm i https://pkg.pr.new/jest-regex-util@15886
@jest/reporters
npm i https://pkg.pr.new/@jest/reporters@15886
jest-resolve
npm i https://pkg.pr.new/jest-resolve@15886
jest-resolve-dependencies
npm i https://pkg.pr.new/jest-resolve-dependencies@15886
jest-runner
npm i https://pkg.pr.new/jest-runner@15886
jest-runtime
npm i https://pkg.pr.new/jest-runtime@15886
@jest/schemas
npm i https://pkg.pr.new/@jest/schemas@15886
jest-snapshot
npm i https://pkg.pr.new/jest-snapshot@15886
@jest/snapshot-utils
npm i https://pkg.pr.new/@jest/snapshot-utils@15886
@jest/source-map
npm i https://pkg.pr.new/@jest/source-map@15886
@jest/test-result
npm i https://pkg.pr.new/@jest/test-result@15886
@jest/test-sequencer
npm i https://pkg.pr.new/@jest/test-sequencer@15886
@jest/transform
npm i https://pkg.pr.new/@jest/transform@15886
@jest/types
npm i https://pkg.pr.new/@jest/types@15886
jest-util
npm i https://pkg.pr.new/jest-util@15886
jest-validate
npm i https://pkg.pr.new/jest-validate@15886
jest-watcher
npm i https://pkg.pr.new/jest-watcher@15886
jest-worker
npm i https://pkg.pr.new/jest-worker@15886
pretty-format
npm i https://pkg.pr.new/pretty-format@15886
commit: 09f5af3