In order to mount in iframes, we need to dynamically figure out the correct `document` https://github.com/choojs/nanocomponent/blob/master/index.js#L32