Re:Making SetInterval Declarative with React Hooks
by mambodog on Monday February 04, 2019 @11:49AM
(#19077839)
Traits are okay: React 'Mixins' which I mentioned in my parent post are basically traits but at the framework level, which allows them to be smart about composing/merging the use of framework functionality normally accessed by overriding superclass methods (eg. componentDidUpdate). Traits still have the composability issues I mentioned for React Mixins: how do you avoid collisions between the namespaces of different traits while still allowing some to compose others?
[ Parent
| on HN ]
There are no comments on this comment yet.