leva
leva copied to clipboard
Leva 0.10 peer dependency errors with React 19
Looks like 0.10.0 is supposed to support React 19, but it's using old @radix libraries that don't have React 19 in peer dependencies. It works but it throws a bunch of warnings upon install with React 19.
It didn't work at all for me using React 19.0.0 in a project using npm workspaces. Upon installation my app stared throwing the Invalid hook call. error, presumably due to "more than one copy of React."
I've fixed the error and sent a PR, and it was merged. But it is currently not released due to a CI issue.
https://github.com/pmndrs/leva/pull/537
There hasn't been any sign of life since March... Should we consider that the library is no longer maintained?
bumping this because it currently throws bunch of warnings but works fine (from what I'm using)
@CodyJasonBennett
Any updates on the release with https://github.com/pmndrs/leva/pull/537?
Any updates on the next release?
hello, having the same issue. looks like @radix versions compatible with react19 exist.
I am bringing up the broken release internally. Our automatic CI release workflow was halted by a depreciated GitHub service we need to upgrade.
Fixed with the new release