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

Nah, it solved huge problems in UI for complex projects. One-way data flow, functional component abstraction, virtual DOM, simple & minimal API (11 methods). It encourages componentization in a way that no other framework quite does as nicely. Because the components are one-way, it's trivial to break up a component that has gotten "too big". I mean, a simple react component is:

const HelloPerson = ({ person }) => <div>Hello, {person}</div>;

ReactDOM.render(<HelloPerson person="ChrisCo" />, document.getElementById("root"));

That's elegant as fuck.



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

Search: