3 ms·
If you are generally interested in how to write components that can be used by many frontend libraries (react/vue, etc), you should take a look at https://githu
by jupp0r 3y ago
If you are generally interested in how to write components that can be used by many frontend libraries (react/vue, etc), you should take a look at https://github.com/microsoft/fast https://github.com/microsoft/fast. I was tangentially involved with porting an existing component library to it and the end result was pretty framework agnostic and well made.
You need to become familiar with ShadowDOM if you are not already.