Hacker News new | ask | show | jobs
by jjdeveloper 1077 days ago
I wanted to go down this route but Astro can’t render table rows without being wrapped in a table tag. Which killed this as an option for me
2 comments

Why would this be the deal breaker of all things? If necessary, you can tack on both the semantics and the layout properties to any container really.
Astro renders JSX to html, what happened when you tried to render a table row without a wrapper table rag? And more importantly, what is a table row doing outside of a table?
Astro removes the html tags and just renders text, so I can’t return a new table row for simple crud setup. Only when it’s a valid table does it not strip out the html.
Oh that's interesting, never seen that happen before but I must have just never run into that use case