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

> But in React you can arbitrarily change HTML because the render method returns a string to be compared to the earlier situation.

I'm pretty sure the render method returns a vdom node (which the library can then diff and merge into the actual DOM)



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

Search: