Mark As Completed Discussion

Let's test your knowledge. Click the correct answer from the options.

What is the purpose of creating protected routes in React Router?

Click the option that best answers the question.

  • To prevent unauthorized access to certain pages or components
  • To improve the performance of the application
  • To handle server-side rendering with React Router
  • To create dynamic routes that change based on user input