Live data from Hacker News

Ant Design – the second most popular React UI framework

github.com

31–40 of 67 posts

Re: Ant Design – the second most popular React UI framework

#31

Isn't there any UI framework alternative for the web that doesn't use JavaScript or Typescript? Something like DaisyUI but using other languages when needing interactivity. Also, tested the DatePicker and it's examples with time is unusable on mobile, renders outside of the viewport without option of scrolling.

Semantic UI[1] was one I used to use, both the plain CSS one as well as the React version of the library. Version 3.0 is coming (eventually), which has left it a bit outdated for a while, but it's still a solid UI library imho. I have been switching away to Tailwind.

[1]: https://semantic-ui.com/

Re: Ant Design – the second most popular React UI framework

#32

Isn't there any UI framework alternative for the web that doesn't use JavaScript or Typescript? Something like DaisyUI but using other languages when needing interactivity. Also, tested the DatePicker and it's examples with time is unusable on mobile, renders outside of the viewport without option of scrolling.

If you want a component library that's going to give you accordions and stuff there's going to have to be a JS implementation involved.

In the early days of bootstrap, it was jQuery. Now, if you want to use bootstrap w react etc, you're going to have to have a third party implementation for the framework you're using (like react-strap if you use react)

Ant and MUI Target react directly which allows them to provide a first party JavaScript implementation for interactive components.

Tailwind is a great example of a JavaScript agnostic solution right now because it's purely concerned with CSS and leaves it to the developer to implement JavaScript stuff on their own. This way you can use things in the ecosystem like react-table and style them with tailwind CSS classes.

Re: Ant Design – the second most popular React UI framework

#35

I've worked with several react colleagues who have used this framework heavily, and have good things to say. It's also been ported to Angular: https://ng.ant.design/docs/introduce/en

I find it hard to recommend the Angular port going forward, or at least until the Ant Design 5 sync has been made.

For those who don’t know, last year Ant Design (the design system behind both component libraries) underwent a major redesign from version 4.x to 5. This redesign didn’t just change the look & interactions but also fundamentally reworked the theming options through simplified and more comprehensive style tokens.

ng zorro still hasn’t adopted this new redesign or given a timeline/reasoning despite the GitHub issue currently being the most upvoted active one.

Not blaming the maintainers here, I understand this isn’t a simple endeavour and I’m in no position to complain since I don’t contribute but I would be very hesitant to chose ng zorro right now given the uncertainty of the situation.

Re: Ant Design – the second most popular React UI framework

#37
Most of the Antd components wrap `rc-[x]` components[0] with a stylish UI.

In the past we've found Antd doesn't play well with custom components, and can often have weird performance implications.

It was a decent way to get a nice UI up fast, but we quickly found a need to build custom components or go elsewhere.

Styling was also a bit of a pain iirc, though I believe things are better with Antd 4+.

At my new gig we use Tailwind + shadcn, plus an increasing number of GPT-generated one-off components :)

[0] https://www.npmjs.com/package/rc-popover

Re: Ant Design – the second most popular React UI framework

#38
post #19

I used antd at a previous company and I thought it was very nice from a design standpoint with a good look out of the box. Development could be a little clunky with some things difficult to customize, although I think that's gotten somewhat better. I also remember a few things having Chinese documentation but missing some English translations. Haven't used it for a few years so not sure if that has been more filled i…

The mobile component library was entirely Chinese when I used it 3-5 years ago. You could still build responsive webapps using the standard components with English docs, though.

Re: Ant Design – the second most popular React UI framework

#39
Component libraries are the major reason I’m still using React.

It would be so much nicer using something like Elixir LiveView for the kind of apps I’m developing. But having to implement so many basic components from scratch just doesn’t make sense.

I mean I can fully see the downsides of introducing big 3rd dependencies into a codebase but not using them would be (in my opinion) a huge waste of time.

Isn’t this a problem for other people (that aren’t using component libraries) as well?

How can anyone be productive with non React/Vue stacks for that reason?

I’d really wish there would be other solutions (web components) so I hadn’t rely on React.

Post reply on HN