Q. Which command is used to create a new React application?

  • (A) npx create-react-app my-app
  • (B) npm create react-app my-app
  • (C) react new my-app
  • (D) npm new react my-app
πŸ’¬ Discuss
βœ… Correct Answer: (A) npx create-react-app my-app
Explanation: The correct command is 'npx create-react-app my-app' which sets up a new React project.
Explanation by: Mr. Dubey
The correct command is 'npx create-react-app my-app' which sets up a new React project.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
63
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
85%
Success Rate