Closed axelboc closed 1 month ago
I'll investigate the strange failing tests tomorrow...
/approve
Upgrading to the latest version of
ariakit
solved the error I was having in the tests.
Sweet !
On hold, as I noticed that this PR increases the bundle size by more than 100 kB, which seems highly unreasonable for just a popover menu. I'll investigate.
I've tried with React Aria (in branch react-aria
) and I get an increase of 185 kB ... still by refactoring only the Export menu.
Mind blowing...
Superseded by #1642
react-aria-menubutton
is no longer maintained. It is still on React 17 and CommonJS, which is causing issues in our Cypress tests and for consumer applications.In this PR, I'm starting the migration to another headless UI library called Ariakit, which seems like a well-maintained, featureful, Typescript-first library. I've considered and discarded other options:
I'll continue the migration in separate PRs.