News for hackers. Stuff that matters.
Re:Ant Design – the second most popular React UI framework by jumploops on Tuesday July 02, 2024 @01:01PM (#40858479)
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 by hreynier on Tuesday July 02, 2024 @01:27PM (#40858727)
> plus an increasing number of GPT-generated one-off components :)

Sounds interesting, what do you mean by this? Do you have a workflow or process? Is this generating styled reusable components?

Re:Ant Design – the second most popular React UI framework by pocketarc on Tuesday July 02, 2024 @01:51PM (#40858919)
Given it's Tailwind + shadcn, I'd be surprised if it's not v0[0].

[0]: https://v0.dev

Re:Ant Design – the second most popular React UI framework by jumploops on Tuesday July 02, 2024 @08:48PM (#40861827)
We’ve used v0 a bit, and it’s getting better(!), but generally just use a custom system prompt that knows our tech stack (Supabase, Next.js, etc.)