how to writ e class name in jsx

 const myElement = <h1 className="myclass">Hello World</h1>;


it is rendered as like below

<h1 class="myclass">Hello World</h1>




No comments:

Post a Comment

Hey Folks, It’s Worse Than We Thought — Claude’s Privacy Mess Just Got Bigger

  What started as a leak of shared Claude chats has turned into something much bigger — and much worse. The same thing is now happening with...