Björn Friedrichs
Björn Friedrichs
Hi just to let you know I checked out this and the PR on render-to-string (https://github.com/preactjs/preact-render-to-string/pull/226) In my setup this line breaks: https://github.com/preactjs/preact/blob/186f5da5c8965fccd2760bacf76d7d75e8769d53/hooks/src/index.js#L36-L39 This is because indexOf is not defined...
It breaks during the `render` call of render-to-string.
The more I think about it, given the scuffed setup I'm using it is very possible that the fault is actually somewhere on my end ...
I just came across this relatively old issue. Unless I'm missing something, is there a reason why @TechBK's change was never merged? If there is a reason I suggest closing...
Correct, I missed that for some reason. I haven’t really looked into how much changed since then but I can’t imagine these changes wouldn’t be still applicable.
Hey, this looks pretty good, I would be willing to merge a PR. I'm not actively working on this project at the moment as the switch browser currently doesn't support...
I just came across this exact same problem and haven't really seen anyone suggest a fix or workaround. What you can do to solve it is to wrap everything inside...