4 ms·
There is a better way to create reusable and composable components: Web Components. Read about it here: https://developer.mozilla.org/en-US/docs/Web/Web_Compone
by interlocutor 7y ago
There is a better way to create reusable and composable components: Web Components. Read about it here: https://developer.mozilla.org/en-US/docs/Web/Web_Components https://developer.mozilla.org/en-US/docs/Web/Web_Components
- jklm 7y agoI highly recommend against using web components. Polymer has failed to take off in the past 3/4 years, and there are performance issues across browsers. Subjectively, I didn’t find the API all that great either.
- interlocutor 7y agoPolymer is crap. Web Components are great. There is definitely no performance issues. Ditch polymer and other such bloated libs. Try this 200-line lib instead: https://github.com/wisercoder/uibuilder https://github.com/wisercoder/uibuilder