Dom
Dom copied to clipboard
DocumentFragment append() vs appendChild()
After deploying some tested code to production, it stopped working. The DocumentFragment was being built up and then appended to the appropriate parent with append(), but it simply wasn't appearing unless I used appendChild().
Weird! Both running PHP 8.2. Needs more investigation.