Earlier quoted context omitted.
> when all someone knows is React or other frameworks, things get overengineered The next level annoyance is that everybody just assumes React to be the default for everything. Check the Shadcn website. The landing page doesn’t mention that this is a React-only UI library at all. Same with Radix. The marketing sounds like a general-purpose UI lib. You gotta dig around a bit to realize that this is React-only.
For pure HTML pages I use Basecoat which is shadcn without React: https://basecoatui.com/
The Overcomplexity of the Shadcn Radio Button
311–320 of 351 posts
Re: The Overcomplexity of the Shadcn Radio Button
#312Earlier quoted context omitted.
> There is so much ecosystem power in having high-quality, blessed implementations of things. Indeed. I work mainly in Angular because while it's widely regarded as terrible and slow to adapt, it's predictable in this regard. Also now with typed forms, signals and standalone components it's not half bad. I prefer Svelte, but when I need Boring Technology™, I have Angular. 90%+ of all web apps are just lists of stuff…
> widely regarded as terrible and slow to adapt I know you are saying you do work mainly in Angular, but for others reading this, I don't think this is giving modern Angular the credit it deserves. Maybe that was the case in the late 20-teens, but the Angular team has been killing it lately, IMO. There is a negative perception due to the echo chamber that is social media but meanwhile, Angular "just works" for enterp…
Re: The Overcomplexity of the Shadcn Radio Button
#313Earlier quoted context omitted.
Except the correct way can be just as colorful, and it takes more effort to implement the bad way.
This is objectively not true, if it were the path of least resistance would mean everyone uses the option that is fastest and best. It takes far less effort to implement the bad way. I think people take their own skill for granted. Maybe you can but most others cannot. Maybe they will learn or maybe they are happy to put food on the table and go home at 5.
Everyone else following along and merely using it I blame less, but they shouldn't have picked such a bloated library.
Re: The Overcomplexity of the Shadcn Radio Button
#314Earlier quoted context omitted.
I work on a React based web app in my Day Job and have genuinely enjoyed it. That said, it always feels like so much boilerplate to get up and running for a greenfield project (and things like NextJS or even TanStack Start add a lot of things that might be overkill for a simple web app). For some vibe coded side projects with Claude, I’ve been working with just using handlebars templates with Express and it has been…
> and have genuinely enjoyed it. People who haven't work with other frameworks like svelte, Vue - normally say they are enjoying React.
Re: The Overcomplexity of the Shadcn Radio Button
#315Earlier quoted context omitted.
https://www.mcmaster.com 2022 post about it. 1400 points. ~500 comments: https://news.ycombinator.com/item?id=32976978
I would recommend comparing to https://next-faster.vercel.app/ NextFaster feels faster than McMaster IMHO
There's no complex, dynamic filter. And no special rendering per type of item.
It's a glorified tumbler since the only dynamic part looks like the shopping cart. Everything else is pre-rendered from what I saw in code.
For static content like that I would have used Astro which is the golden standard.
Re: The Overcomplexity of the Shadcn Radio Button
#31615 years ago, Enterprise FizzBuzz [1] was supposed to be satire. These days, it's not quite complex enough to capture "modern" web dev. [1] https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpris...
Re: The Overcomplexity of the Shadcn Radio Button
#317Earlier quoted context omitted.
I really don't understand Tailwind. I heard great things about it, and then I tried it and it seemed like setting style="" on all elements, but with extra steps. Did we go off semantic CSS and returned to setting properties on each element, or was I using it wrong?
You aren't using it wrong, the only thing tailwind does better than 99% of devs is having default values that both look nice and mesh together well. Utility based CSS has been around as long as classes have, tailwind is just one iteration of that. GitHub use to have a utility css library as well before switching to their new design.
So 99% of the value can be achieved with strict linting and autocomplete plugins.
Re: The Overcomplexity of the Shadcn Radio Button
#318So for a React developer who doesn't want to include Shadcn/Radix, but also doesn't have time to build every component/a11y/compat/edge cases from scratch, what are the better alternatives? Would be nice to list them here so developers can know a midpoint between DIY Shadcn/Radix
Re: The Overcomplexity of the Shadcn Radio Button
#319Earlier quoted context omitted.
> Displaying the same thing on every monitor to the degree that monitor allows is well-defined. In this case the website will not appear the same on every browser. Most browsers have a zoom function that the user controls which is an accessability feature. This changes how the website renders on the page.
That falls under displaying things differently on purpose
Re: The Overcomplexity of the Shadcn Radio Button
#320So for a React developer who doesn't want to include Shadcn/Radix, but also doesn't have time to build every component/a11y/compat/edge cases from scratch, what are the better alternatives? Would be nice to list them here so developers can know a midpoint between DIY Shadcn/Radix