Hacker News new | past | comments | ask | show | jobs | submit login

w.r.t. mixins vs HOCs

Mixins don't compose safely and were always kind of a hack.

HOCs are also kind of a hack, but at least they behave predictably (i.e. they do compose).

I don't really get the argument that React lacks testing infra. I know a lot of people say this but no one has talked me through an example yet.




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

Search: