Closed milesj closed 4 years ago
When a component with generics is wrapped with an HOC, the generics are lost and any usage breaks that relied on them.
class Comp<T> extends React.Component {} export default aesthetic.withStyles()(Comp);
Not sure if this is fixable?
Unable to fix. Just use hooks instead.
When a component with generics is wrapped with an HOC, the generics are lost and any usage breaks that relied on them.
Not sure if this is fixable?