Closed rpivo closed 3 months ago
the children are treated as a list.
workaround: concatenate the strings yourself
Isn't the list be concatenated with no spacing, like any other children in JSX components
Isn't the list be concatenated with no spacing, like any other children in JSX components
[1, 2].toString()
Reproduced issue here: https://stackblitz.com/edit/solidjs-templates-pblvuq?file=src%2Froutes%2Ftest%2F%5Bid%5D.tsx
Start with
npm run dev
, then navigate to route /test/1.The title should read
abel bernice charlie
, but instead it readsabel, ,bernice, ,charlie
.I am not sure that this has anything to do with using
routeData
at all -- this is just how I am able to reproduce the issue.