Use class C extends superType instead of prototype chain
danieldietrich opened this issue · comments
const makeCE = (superTag) => {
const superType = ...;
return class extends superType { ... }
};
see https://twitter.com/justinfagnani/status/1489978756303253518