Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> The library has a small footprint (115kb gziiped)

That's more than most JavaScript frameworks, not taking into account tree shaking, how is this "a small footprint"?



I am not familiar with this library, but if it does what it should then ofcouse is bigger, with react you just get a way to render divs and spans on screen, a GUI framework would give you say a DataGrid component with sort able columns and some advanced optimizations like windowing (aka a grid with 1 million rows will use same resources as a small DataGrid because it will only create enough DOM elements for the visible part and then recycle stuff).

JS devs that did not used Desktop or Mobile GUI tolkits have no idea what is missing in the browser.


> 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....


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)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: