This bug was introduced on 10.4.2. In 10.4.1 is working fine.
Preact 10.4.1 vs 10.4.2

I don't understand when it happens exactly. But look an error on SSR.
yarn && yarn dev -> Is working finerm -rf node_modules yarn.lock && yarn && yarn dev -> Is not rendering well the contentRender the content in the same way than 10.4.1
It's not rendering the content.
There are some interesting things to see here, let me pop open the 10.4.1 dom-tree and compare it to the 10.4.2 one.
10.4.1

10.4.2

We can see that the debug measures kick in all of a sudden on 10.4.2 applying the __source, ... Is there an error being eaten somewhere?
The Preact-devtools are showing me that in 10.4.2 the props are all applied correctly as well.

Which is the exact same I'm seeing for 10.4.1, when I add an errorBoundary both seem to be behaving the same as well so for some reason it seems like there's something not applying.
I'll free up some time in a bit to dive deeper.
EDIT: this seems to be related to something wrong with the built- files since when I use a local instance of 10.4.2 there's nothing wrong this is highly peculiar.
@JoviDeCroock what I see is that it only happens on SSR. Using CSR is working fine 馃槙 Or at least using Next.js... Are you using SSR in your local instance?
BTW; What are the __self and __source doing? Are they only for devtools?
These are debug attributes originating from https://babeljs.io/docs/en/babel-plugin-transform-react-jsx-self, what I don't understand is why they weren't applied with 10.4.1 and they were with 10.4.2 the only change that could impact this is that starting at 10.4.2 we are actually using hydrate rather than render which in essence makes less sense.
EDIT: this feels very odd but it's all working for me atm with Preact 10.4.2 馃槄
This has been fixed in preact-render-to-string 5.1.9
It works very well now 馃憦
Most helpful comment
It works very well now 馃憦