Peter Kröner @sirpepe.bsky.social · 22d

Every time I deploy document.currentScript instead of building a whole-ass component for something trivial, it feels like I'm using a cheat code for #webdev #javascript

2 likes 1 replies

?

Replies

Peter Kröner · 22d

Even with whole-ass components, this remains the simplest way to decouple them from things like local storage and to stop FOUC at the same time.