RATIU5
Explore posts from serversSolid.js does not render children in a `<For>` loop correctly
I replicated this issue in this StackBlitz project here: https://stackblitz.com/edit/withastro-astro-hj9dxh?file=src%2Fcomponents%2FRenderListInSolid.tsx
28 replies
Solid.js does not render children in a `<For>` loop correctly
For posterity looking more into this problem, more info will be tracked here: https://github.com/withastro/astro/issues/12212
28 replies
Solid.js does not render children in a `<For>` loop correctly
Oh really? Hmm. May have to see if this might be a bug in the Astro community. Or if there is a certain way to accomplish this in Solid that's more "standard" when dealing with this problem.
28 replies
Solid.js does not render children in a `<For>` loop correctly
Are you saying to make the prop passed into this component a function? So the new props type would look like this?
I haven't found a successful way to do that, as Astro is handling the prop injection. I just get a JSX-like element from the props object.
28 replies
Solid.js does not render children in a `<For>` loop correctly
For extra information, I am using this as a framework component from within Astro, and
trashIcon
is coming as a named slot from Astro. I don't think this has anything to do with this problem, but it could.28 replies