What Are React Elements? - ReactJS MicroBytes (2020)

preview_player
Показать описание
Elements are the smallest building blocks of React apps. An element describes what you want to see on the screen.

Don't confuse these React elements with browser DOM elements. Unlike browser DOM elements, React elements are plain JavaScript objects, and they are cheap to create. The React virtual DOM takes care of updating the actual DOM to match the React elements.

Also, don't confuse these elements with components. We will go over components in another video. But elements are what components are made of.

To render a React element into a root DOM node, pass both to ReactDOM.render().
_____________________________________

📚 Learn to CODE in just a FEW months here:
_____________________________________

🛠️ Tools I use:

_____________________________________

💖 Show support!
_____________________________________

Watch Next:
_____________________________________

Connect With Me:
_____________________________________

** Affiliate Disclaimer: Some of the above links may be affiliate links, which may generate me a sales commission at no additional cost to you.

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

Thanks for all of the support! Next Up:

📚 My Favorite Web Design Books 📚
Web Design with HTML, CSS, JavaScript and jQuery Set by Jon Duckett (paid link)

codeSTACKr
Автор

In depth explanation!
The best and clearer explanation of virtual dom and react elements, I've ever seen!

dimitrisandroid
Автор

You're doing a really excellent job. This channel is primed to get more and more following.

rhazelett
Автор

👏 you are creating a trend in learning in Youtube

NagendraDevara
Автор

lol all you did was read the Reactjs.org documentation? I was hoping for something different from the docs :(

catieac
Автор

I have a problem sir in creating a react app and create-react-app does not work .. can you please help me whenever I enter npm i -g create-react-app it doesn't work and shows the error 'error ENOMEM: not enough memory, write'

gursimran
visit shbcf.ru