In a route template, _______ are used to define optional parameters.

  • Brackets {}
  • Square Brackets []
  • Angle Brackets <>
  • Curly Braces ()
In a route template, optional parameters are defined using curly braces {}. These allow you to specify route parameters that are optional for a particular route, providing flexibility in your URL structure.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *