4 ms·
In the whole React ecosystem render is used as a keyword to produce HTML/DOM abstractions though. For example class based components having the render function.
by mewpmewp2 3y ago
In the whole React ecosystem render is used as a keyword to produce HTML/DOM abstractions though. For example class based components having the render function.
The rendering you mention never happened anywhere in the React JS code. Browser did the rendering internally.
- DeathArrow 3y ago>the whole React ecosystem Web is much more than the React "ecosystem".
- mewpmewp2 3y agoOther libs/frameworks also use the word render. E.g. https://vuejs.org/guide/extras/rendering-mechanism.html https://vuejs.org/guide/extras/rendering-mechanism.html
- n3storm 3y agothose steps could be understood as pre-renders: from js class to dom objects => pre render 1 from dom to html => pre render 2 from html to display graphics => final render