prettynice
prettynice copied to clipboard
Web components for client-side Gren components?
The way I'm including and isolating the client side components is very hacky. Would web components or custom elements be an option for cleaning these up?
Lustre components use custom elements:
- [ ] https://hexdocs.pm/lustre/lustre/component.html
- [ ] https://youtu.be/TbCm-zR7qZ0?t=721
- [ ] Hayleigh talking about it in discord
Other things to look at:
- [ ] https://shoelace.style/
- [ ] https://nordhealth.design/components/
- [ ] https://kor-ui.com/components/switch
- [ ] https://gomakethings.com/bulletproof-web-component-loading/