Index
JavaScript DOM framework
I tend to write a helper function for making a DOM element and these days it tend to end up looking kind of like this:
tagName
is the tag name.Object.assign
copies all the props
over, so I can pass in className
and such through that.replaceChildren
puts the rest of the arguments in there.
So uh we can use it for things. Beep boop: