[Docs] Babel package names are outdated
Open
- Dominant language
- JavaScript
- Stars
- 11.8k
- Forks
- 7.9k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 11
Description
Currently, on the page Add React to a Website in the section "Add JSX to a Project", the instructions are to run
npm install babel-cli@6 babel-preset-react-app@3
These packages have been renamed @babel/cli and @babel/preset-react, respectively, so this should be updated.
I believe the next command with --presets react-app/prod should also be changed to --presets @babel/preset-react.
Thank you!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Check linked pull request #4624 first, then open the “Add JSX to a Project” section of the “Add React to a Website” page. Update the outdated package names and the --presets command, then verify that the documentation shows the current Babel package names.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 25/100