Created
February 18, 2020 12:24
-
-
Save daKmoR/12bca1b126b92df8abbd6f03ad8be8a7 to your computer and use it in GitHub Desktop.
Markdium-What is a Mixin?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { dedupeMixin } from '@open-wc/dedupe-mixin'; | |
export const MyMixin = dedupeMixin( | |
superclass => | |
class MyMixin extends superclass { | |
// your mixin code goes here | |
}, | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment