3 ms·
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. the
by peterhunt 10y ago
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.