Q. Which component in React Router is used to define a route?

  • (A) Router
  • (B) Route
  • (C) Link
  • (D) Switch
πŸ’¬ Discuss
βœ… Correct Answer: (B) Route
Explanation: `Route` defines the path and component to render for a given URL.
Explanation by: Mr. Dubey
`Route` defines the path and component to render for a given URL.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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