![]() |
In JSX(JavaScript XML), you can use curly braces Here’s how you can comment in JSX:Single-Line Comments:Javascript
Multi-Line Comments:Javascript
Note that JSX comments are not included in the generated HTML output. They are purely for developer documentation and won’t affect the rendered UI. When JSX code is transpiled to JavaScript, comments are typically stripped out during the process. |
Reffered: https://www.geeksforgeeks.org
Web Technologies |
Related |
---|
![]() |
![]() |
![]() |
![]() |
![]() |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 13 |