3 ms·
It doesn't matter when the "unsafe" method is already so entrenched and easy to reach for.
by pwdisswordfishy 1y ago
It doesn't matter when the "unsafe" method is already so entrenched and easy to reach for.
- xp84 1y agoSure it does. A baby developer today has a good chance of discovering setHTML first. The most “with it” keep abreast of great new additions to the DOM API. We just have to educate the mid-levels (and hope the AI that does most of the actual code authoring for the juniors gets the memo quickly).