[Bug?]: SSR adds commas between children (in meta title)
Duplicates
- [x] I have searched the existing issues
Latest version
- [x] I have tested the latest version
Current behavior 😯
SSR renders children with a comma between each node.
CSR fixes the render with the first update:
Expected behavior 🤔
No commas separating children of <Title> from server's initial render
Steps to reproduce 🕹
Steps:
- Most basic repro is https://github.com/drdxk/tmp-solid-start-ssr-meta/tree/main
- Which is obtained via:
npm init solid@latest, typescript, basic template - Sole commit: https://github.com/drdxk/tmp-solid-start-ssr-meta/commit/600b1a20ebda88db73689b89df06ac12558e7ae5
- This adds a CustomTitle component as described in this doc
- Behavior is observed both with run and build+start
Context 🔦
No response
Your environment 🌎
Since this is an issue with the solid-meta module, it will be handled by solid-meta #63.
duplicate of https://github.com/solidjs/solid-meta/issues/45 and it seems its already fixed?
As I mentioned in the PR, this can only solve one-dimensional arrays, and unlike client-side processing, which solves all nested arrays, it cannot currently solve arrays of two or more dimensions, such as the issue.
I ran the issue example with the code before and after the commit, and the output results after the modification are the same on the user screen (view).