Support custom "dom fragments" like undom
gnarf opened this issue · comments
Mx Corey Frang commented
This was suggested by @developit in the preact slack.
We should allow someone to configure a different fragment creation than document.createDocumentFragment()
Mx Corey Frang commented
Could do this via config.createFragment = () => document.createDocumentFragment();
and/or allow passing it to the RenderContext constructor via the options