r/learnjavascript • u/MozMousePixelScroll • Mar 06 '26
Why use `attributeStyleMap` over `style`?
I'm looking at attributeStyleMap and it seems to be almost the same thing except more verbose and with worse support. Is there a reason to use it for writing styles (over just style)?
6
Upvotes
View all comments
Show parent comment
1
u/MozMousePixelScroll Mar 06 '26
ohh that's interesting