Using setAttribute(<key>, <value>) means the null value supplied will be converted to a string, and you end up with <element <key>="null">.
I would ideally like the element to appear as <element <key>> like <my-comp show>, instead of the above or <my-comp show=''>
How would I be able to achieve this without modifying outerHTML property please?
 
    