Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



>the whole React ecosystem

Web is much more than the React "ecosystem".


Other libs/frameworks also use the word render. E.g. https://vuejs.org/guide/extras/rendering-mechanism.html


those 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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: