Lurker News

Comments (104) 33 threads

Earlier comments
z3t41 reply#
The design is good. It look nice! But it is very heavy compared to native HTML and CSS. It's like taking a space ship, to go visit your neighbor.
mlsarecmg1 reply#
It's actually super light, i don't know where you got the impression that it's heavy. This is not a monolith but a modular kit - you only load what you use which makes it different from many other UI kits which give you megabytes of CSS on first load.

Also, this is native HTML and CSS of course, with proper definition, types and handlers laying out what the component can do:
https://github.com/ant-design/ant-design/blob/master/compone...
https://github.com/ant-design/ant-design/blob/master/compone...
Resulting in: https://ant.design/components/button/

z3t41 reply#
It's a weak abstraction with maybe hundreds of nested dependencies and many compile steps. A lot of things that can go wrong ... Just to do this:

  Hello world
mlsarecmg1 reply#
"Just"

To "just" use self contained, configurable, property-defined components that can be shared, re-used, filled with state - that isn't trivial. Which is why they're React components. The components themselves are very lean, there's a bit of code, some markup, a piece of CSS and that's that. The code i have linked compiles down to a couple of bytes.

Continue this thread — 1 reply

tschellenbach2 replies#
Large library, I particularly liked the @mention component, first time i see a library providing that.
biot#
That editor doesn't allow editing on mobile Safari (iPad). All the examples are non-functional and some are visually broken as well.
Rodeoclash1 reply#
What's the filesize for this?
karmajunkie1 reply#
This is really well executed, well done. I noticed a link to data visualization and graphics pages, but unfortunately I don't read chinese. Are there plans to wrap that stuff up in React in a similar fashion?
benjy_c1 reply#
You can try Google translator..

Continue this thread — 1 reply

Load more comments