Ryan Christian
Ryan Christian
Sorry for the long delay. Looks like this breaks our attempt to [set the new parent for a child VNode](https://github.com/preactjs/preact/blob/962594b30ed897d0008a26122b78aa4fb632dc89/src/diff/children.js#L266). `preact/debug` is cloning the returned VNode so that it's no...
I get that, and I hope it wasn't too much of a pain to track down back when you opened the issue (sorry again for it sitting for so long)....
As `FunctionComponent` generally shouldn't be used anyhow (lots of articles out there stating the issues it has), and `htm` being a somewhat niche option with fairly different semantics due to...
> Can you link to articles describing why FunctionComponent should not be used (ideally with examples of what I should be using instead)? Check the "Why is React.FC not needed?"...
PRs definitely welcome, as far as I am aware there are no plans for future content changes (beyond maybe https://github.com/preactjs/preact-www/issues/1098).
FWIW, the banner on the site is purely for showing the latest release (and we have a little infra bug so it's showing the fallback, hardcoded version at the moment)...
Looks like support for this parameter landed in #3452, so I'll close this on out
> Even though they're identical input, one is converted to a string child, one is converted to a vdom object. Not at all, one is in fact a string, while...
Just hasn't yet been another release is all.
> produces Looks like you forgot to wrap the output in a backtick, so GitHub tried to render it directly. > `` [This works just fine](https://esm.rschristian.dev/#Ly8gU2ltcGxlIGRlbW8gSFRNIGFwcCBieSBAcnNjaHJpc3RpYW4KLy8gLS0tLS0tLS0tLS0tLS0tLQoKaW1wb3J0IHsgaHRtbCwgcmVuZGVyIH0gZnJvbSAnaHR0cHM6Ly9jZG4uc2t5cGFjay5kZXYvaHRtL3ByZWFjdC9zdGFuZGFsb25lJzsKCmNvbnN0IGJhc2VMYXllclRodW1iPSBgdXJsKGh0dHBzOi8vaW1hZ2VzLnVuc3BsYXNoLmNvbS9waG90by0xNzAxMTYxNTk0ODIyLTNiN2FmNTRhMTRkMz9xPTgwJnc9MTAwMCZhdXRvPWZvcm1hdCZmaXQ9Y3JvcCZpeGxpYj1yYi00LjAuMyZpeGlkPU0zd3hNakEzZkRCOE1IeHdhRzkwYnkxd1lXZGxmSHg4ZkdWdWZEQjhmSHg4ZkElM0QlM0QpYDsKCmZ1bmN0aW9uIEFwcCgpIHsKICAgIHJldHVybiBodG1sYAogICAgICAgIDxkaXYgY2xhc3M9Im1pbmlib2FyZC10aHVtYiIgc3R5bGU9ImJhY2tncm91bmQtaW1hZ2U6ICR7YmFzZUxheWVyVGh1bWJ9OyI+SGVsbG8gV29ybGQ8L2gxPgogICAgYDsKfQoKcmVuZGVyKGh0bWxgPCR7QXBwfSAvPmAsIGRvY3VtZW50LmJvZHkpOw==), albeit once you add...