- cross-posted to:
- [email protected]
- cross-posted to:
- [email protected]
I made something to try out for “funtional webcomponents” with vanillaJs. I’m working towards a UI framework for my personal projects. It’s far from finished but i thought it might be an interesting concept to share.
You must log in or register to comment.
Isn’t ‘innerHTML’ considered unsafe? Can someone with subject knowledge please explain.
MDN says you’re right because innerHTML is un-escaped and you’re probably trying to use textContent. Didn’t know about this one, thanks.
That’s really cool. I always thought web components needed something more to be really useful. I work with vanilla web components at work all the time and they’re not really that fun to work with