|
|
|
|
|
by hotshoe
999 days ago
|
|
React-aria hooks provide freedom tailor your own components w/o needing to work around the limitations of general purpose controls, while retaining correct interactivity behaviors (the hard part). React-aria has steeper learning curve but well worth it IMO, as I spent more time working around/hacking UI frameworks like MUI, Mantine, etc., to fit my needs that just comes naturally w/ react-aria. There is also react-aria-components (RAC) that went beta a couple weeks ago, which Adobe team is pushing at the start point, use hooks only when needed. Since RAC is just glue on top of hooks, only small incremental hit to bundle size, and lets you have cake and eat it too (e.g., I'm now using RAC 80% of time for declarative approach, also unstyled, and hooks for special cases). If want styled, can go spectrum -- also layer onto of hooks, there ay many options |
|