Watch this if you use shadcn/ui
Concerns about Shadcn/UI and Radix 00:00
- The speaker expresses concern that using Shadcn/Radix may be a liability due to declining maintenance and contributor involvement.
- Chris, a respected contributor in the community, raises important points about the future of these libraries, prompting a discussion of alternatives.
Overview of Shadcn and Radix 02:54
- Shadcn combines Tailwind for styling and Radix for behaviors, providing a unique solution for UI component libraries.
- Radix is known for its primitives that manage UI behaviors but lacks built-in styling, requiring users to provide styles themselves.
Radix's Maintenance Challenges 06:29
- The acquisition of Radix by Work OS has led to reduced maintenance and contributor activity, raising concerns about its reliability.
- Many original maintainers have left, leading to a backlog of open issues and pull requests.
Transition to Base UI 08:45
- Base UI is emerging as a well-maintained alternative to Radix, with consistent contributions and updates.
- The transition may be necessary as Radix's maintenance wanes, although Shadcn's modularity allows for easier adaptation to new libraries.
Performance Issues with Radix 12:54
- Axiom, a company relying on Shadcn and Radix, has encountered performance issues due to Radix's handling of state updates.
- There are ongoing efforts to fix these issues, but concerns remain about the library's stability.
Shadcn's Recommendations 18:37
- Existing users of Radix are advised to stick with it; new projects might consider Radix, React Arya, or Arya Kit as alternatives.
- Base UI is suggested as a potential forward-looking option, but caution is advised when considering beta libraries.
Future of UI Libraries 22:34
- The speaker emphasizes the importance of stability in component libraries and suggests that developers should avoid switching libraries unnecessarily.
- Shadcn's approach allows for modularity, making it easier to adapt to changes without significant disruption.
Conclusion and Outlook 24:13
- Despite current challenges, the future for UI libraries remains optimistic with multiple viable options available.
- The community's engagement in discussing these issues is seen as a positive step towards ensuring better maintenance and development practices.