Hacker News new | ask | show | jobs
by anonydsfsfs 1381 days ago
> would give you say a DataGrid component with sort able columns and some advanced optimizations like windowing

react-data-grid is 13.8KB gzipped[1]. React itself is ~45KB gzipped, so that's ~60KB total, nearly half the size of W2UI.

edit: And if you want a full-fledged component library, you could also throw in react-bootstrap, which is <40KB gzipped.

[1] https://bundlephobia.com/package/react-data-grid@7.0.0-beta....

1 comments

Sorry I can't judge those, the thing is all the ones I used so far, including boostrap are really basic. You would need a library for a trully complete DataGrid, one for a real dropdown, one for a real listbox, one for a modal manager, one for menus etc.

This widgets appear to be simple but can have more advanced usage, like a dropdown where you can navigate with the keyboard arrows or PgUp/PgDown, you could type a character and the dropdown would instantly jump to the that item , you can specify if the dropdown popup up or down, have many items are visible at once, you can have items with different fonts styles , disabled items.

This classic frameworks are good for doing business apps or apps for working and not for simple apps that need to look cool to sell.

The Youtube Search box has a dropdown thing, sometimes that thing gets stuck open and you have to reload the page, so a giant like google with their expensive developers are not able to do a average complexity widget. But I seen worse, fancy input widgets where you could not use the Delete button (the Skype money amount input)