refactor: Refactor logic around resolving a tag name for Incremental DOM and add comments to explain
refactor: Refactor logic around resolving a tag name for Incremental DOM and add comments to explain

#872

skatejs/skatejs,chrisdarroch/skatejs,skatejs/skatejs,chrisdarroch/skatejs,skatejs/skatejs