React Rendering Elements Tutorial #3 React Course | Code with Sloba

Опубликовано: 23 Ноябрь 2024
на канале: Code with Sloba
2,630
59

React Rendering Elements Tutorial #3 React Course | Code with Sloba

How React renders elements?

An element is like a single frame in a movie: it represents the UI at a certain point in time. And components are formed out of elements.

Unlike browser DOM elements, React elements are plain objects and are cheap to create. React DOM takes care of updating the DOM to match the React elements.

Every react application needs to have a root dom node in your main HTML file, and that’s where everything is handled by React dom.

Applications built with just React usually have a single root DOM node.

************************************************************
Previous Video:    • React JSX Tutorial #2 React Course  
Next video:    • React Components #4 React Course | Co...  
Full series:    • Full React Course  
************************************************************

🧿I discussed:

✔️ What is React element?
✔️ How to render elements in React
✔️ How React updates the DOM

Social Media
**********************************

👉 Linkedin:
✔️   / slobodan-gajic  

👉 Portfolio:
✔️https://bobangajicsm.github.io/portfo...

👉 Twitter:
✔️  / _slobodangajic_