feat(view): add support for components that use shadow dom emulation