Another thing that I was thinking about, I tend to...
# package-development
m
Another thing that I was thinking about, I tend to just use
export default class
for my Lit elements:
Copy code
typescript
export default class MyElement extends UmbElementMixin(LitElement) {}
However, I have seen this pattern:
Copy code
typescript
export class MyElement extends UmbElementMixin(LitElement) {}
export default MyElement;
Is there any benefit of the 2nd appraoch that I'm missing? Does it matter? If one better than the other?
6 Views