@bendrucker how do you create an idempotent window context? Do you use Raynos' thing? Want to access window.HTMLElement.prototype on server
@bendrucker ohey, so if I do DOMElement('button') I should get the button prototype right? This could solve my issues! :D
-
-
@yoshuawuyts min-document is enough for me to run vdom -> dom unit tests in Node and when it hasn’t I just send PRs for needed methods -
@bendrucker cool! Building a webcomponent -> vdom widget transform atm ^_^
End of conversation
New conversation -
-
-
@yoshuawuyts You’d get an element instance with a tagName of button, but yeah in a lot of case it’ll work -
@bendrucker yeah, like: I want to then turn it back into an html tag with a bunch of props on it (SSR); reckon it's good enough for that! :D
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.