Post

As someone who's not really tried either, I'm curious what you're finding better in react-aria vs Radix?

0 reposts1 like

What I personally really like about React Aria, and what I think outshines other headless component libraries, is that before they had components, they've developed a system to build components. This said system, consists of hooks from React Aria (behavioral hooks) and React Stately (state hooks).

So what I find great about React Aria is that in addition to "assembled" components, you have these "low level" tools React Stately and React Aria, to build your own components in the same paradigm. You can look into the source code of their components and see how they did it, and learn from it.

yes exactly this! On their faces they seem like the same thing "headless UI libraries". Radix started with components for APIs, so breaking out of them, using the component state or even re-using their patterns can be rough.