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

This is definitely debatable. I grok the composable functions model quite well, and hooks let you separate logic out of components extremely well and intuitively once you understand the basics of React.

By comparison, I feel class component's promoted 'mile high' components where everything was inside of the class, which has many enormous drawbacks, one of the biggest being maintainability.

To this today though, I feel most people don't understand the simple rule of UI is the last mile concern. Developers still cram way too much into components rather than separating layers of concerns



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

Search: