DEV Community

Discussion on: React's render() Doesn't... Render

Collapse
 
hadrianhughes profile image
Hadrian Hughes

This is interesting. I disagree that the naming of the render function is inaccurate but I can see how someone fairly new to React would find it confusing.

I think it's important to think in terms of the virtual DOM, because it then makes more sense to think "the render method causes this component to be rendered to the virtual DOM", and subsequently React performs the diff you talked about.