Live data from Hacker News

Show HN: A simple React table library using CSS Grid Layout

github.com

1–10 of 29 posts

Re: Show HN: A simple React table library using CSS Grid Layout

#7
post #3

Why wouldn't you use proper tables for tables?

Bulk table rendering can have a performance impact on your app and a more minimal implementation may be desired

Then the fix is to only render the rows currently in the viewport, right? Seems weird to recreate tables using CSS for that reason.

Re: Show HN: A simple React table library using CSS Grid Layout

#8
post #3

Why wouldn't you use proper tables for tables?

+1 There are many problems with html tables (like inconsistent buggy implementations between browsers) but grids don't fix them and introduce other problems. You can't group cells in rows / columns html elements. You can't write a simple css selector for a particular cell. You can't easily refer to a whole row with a css selector. You can't do stuff like "highlight the whole row on hover" because you wouldn't have a parent element to select. Grids are for grid layouts, and with current feature set they can't replace tables.
Post reply on HN