Live data from Hacker News

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

github.com

11–20 of 29 posts

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

#15
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

Dunno why you’re downvoted. Noticed this too, if you have a table with slow loading content then the whole thing doesn’t render until all of it can render.

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

#16

React components that take configuration rather than allowing you to compose smaller components are generally a bad idea.

Why?

Speaking from experience outside of react, but I imagine it carries over nicely having done a little react myself: The configuration either doesn’t encapsulate you’re specific use case because it is kept simple, and you are stuck forking the component; or the configuration expands to be its own little akwards DSL with very surprising edge cases.

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

#17
post #3

Why wouldn't you use proper tables for tables?

Exactly! Recreating the visual layout of a table is only half of the problem. You also need to think about making it accessible (which this component does not appear to attempt). You could get the for free by just using the proper semantic element.

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

#18
post #9

I get (and strongly encourage) using grids instead of tables for layout. But why use grids instead of tables for tables?

This is off-topic, but since you strongly encourage using grids for layout. How do you deal with browser support issues? I found even IE11 is still very buggy in supporting CSS grid properly.

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

#20

edit: removed

The best course of action is to email the mods via the Contact link in the footer. The guidelines are clear on this as well:

> "Please don't impute astroturfing or shillage. It degrades discussion and is usually mistaken. If you're worried about it, email us and we'll look at the data."

> "Please don't complain that a submission is inappropriate. If a story is spam or off-topic, flag it. ... If you flag something, please don't also comment that you did."

https://news.ycombinator.com/newsguidelines.html

Post reply on HN