Why We Don't Use Class Keyword in React? | ClassName Keyword Explained #shorts

preview_player
Показать описание


👉 Checkout codedamn on social:

If you found the video valuable, please leave a like and subscribe ❤️ It helps the channel grow and helps me pumping out more such content.

👋 About Me:
Hey! I'm Mehul Mohan, a CSE'21 graduate from BITS Pilani, Goa. I started coding early in life, at the age of 13 when I created my first blog on Blogger. I am listed in Google, Microsoft, Sony, eSet, etc. Hall of Fame for reporting vulnerabilities in their systems.

🍎 I am Apple's WWDC'19 Scholar - visited San Francisco and attended WWDC.

🚀 Currently working on my own startup - codedamn.

Connect with me:

🏷 Video Tags:
Why We Don't Use Class Keyword in React? | ClassName Keyword Explained #shorts
react tutorial
react js
learn react
react javascript
react tutorial 2021
react tutorial for beginners
reactjs tutorial
react crash course
reactjs tutorial for beginners
learn reactjs

Рекомендации по теме
Комментарии
Автор

Did you saw my history...I just googled about that while going through your react course

sidharthsid
Автор

Sir this video cleared my doubts. also i subscribed your video. please make short video more and more topics. please make more short video and cleared people doubt. we can learn react anywhere. but nobody cleared our doubt like your sir.

bestscene
Автор

With JSX, you're writing DOM properties of JavaScript. DOM property of class in JavaScript is className. It's not particularly a react thingy.

aravindsanjeev
Автор

Why don't they add a key converter during compile stage instead. It makes such confusion for newbies.

zcharyma
Автор

in short: JSX is actually javascript and "class" is a reserved keyword in javascript

deepdivedevs
Автор

I am not able to include external css file saying invalid dom property class. Did u mean class name? Then i change class to className but it still giving errors... Any solution someone olz?

-bhaveshrathod
Автор

Html mai jab class use karta hu to usper css work nahi karta hai.
Aur jab bootstrap sr se jo code use karta hu
To chorme mai old type ka output dikhta jo ki bootstrap jaisa nahi hota hai .please help me.

omkarbhalekar
Автор

I think you meant, "JSX, the HTML of React" and not "HTML, the JSX of React"

kavindesivalli
Автор

No it's wrong React use JavaScript dom web api

prudhvichinnam