To comment out multiple lines in JSX, you'd use ________.
- /* ... */
- // ...
- /** ... */
To comment out multiple lines in JSX, you should use the syntax /* ... */. This is a common JavaScript syntax for multi-line comments, and it works the same way in JSX. Using // ... will only comment out a single line, and the other options are not valid for commenting out multiple lines in JSX.
Loading...
Related Quiz
- Is it keys should be globally unique?
- What is React Dev Tools?
- What is the primary benefit of using Web Workers in a React application?
- In the context of React development, how does a Service Worker contribute to the performance and reliability of a web application?
- The ________ library in React is popular for creating responsive and interactive charts.