Do element node + scrolling geometry and coordinates in DOM really matter? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Do element node + scrolling geometry and coordinates in DOM really matter?

Currently, I'm studying JavaScript so that I can work with react.js later on. What I would like to know is are the topics mentioned in the question or the DOM itself are essential for React.js ? as nobody seems to explain them. Therefore, I thought they might be of lesser importance.

1st Feb 2024, 12:20 AM
Alaa Aldeen Shammr
Alaa Aldeen Shammr - avatar
6 Answers
+ 1
React just needs a div with an id="root". The app is dynamically constructed with javascript, and rendered in index.html through it. You still have to understand basic html structure to create your react components. You are essentially working with a virtual DOM.
1st Feb 2024, 1:35 AM
Bob_Li
Bob_Li - avatar
+ 1
Bob_Li nice👍, So I can skip the Dom?
1st Feb 2024, 1:37 AM
Alaa Aldeen Shammr
Alaa Aldeen Shammr - avatar
+ 1
yes, you build it in react.
1st Feb 2024, 1:38 AM
Bob_Li
Bob_Li - avatar
+ 1
Bob_Li Thank you so much 🙏
1st Feb 2024, 1:38 AM
Alaa Aldeen Shammr
Alaa Aldeen Shammr - avatar
+ 1
Understanding the DOM (Document Object Model) is fundamental to working with React.js or any other web development framework. Thank You So Much
1st Feb 2024, 12:00 PM
Code With Nouman
Code With Nouman - avatar
0
Code With Nouman I'm confused 😅
2nd Feb 2024, 2:37 AM
Alaa Aldeen Shammr
Alaa Aldeen Shammr - avatar