leva icon indicating copy to clipboard operation
leva copied to clipboard

Leva 0.10 peer dependency errors with React 19

Open scott-cornwell opened this issue 8 months ago • 4 comments
trafficstars

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.

scott-cornwell avatar Mar 21 '25 16:03 scott-cornwell

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."

caseprince avatar Apr 29 '25 17:04 caseprince

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

devwontory avatar May 26 '25 13:05 devwontory

There hasn't been any sign of life since March... Should we consider that the library is no longer maintained?

Landalvic avatar Jun 09 '25 20:06 Landalvic

bumping this because it currently throws bunch of warnings but works fine (from what I'm using)

msidqi avatar Jun 21 '25 21:06 msidqi

@CodyJasonBennett

Any updates on the release with https://github.com/pmndrs/leva/pull/537?

kamikazePT avatar Sep 26 '25 18:09 kamikazePT

Any updates on the next release?

eisterman avatar Oct 07 '25 16:10 eisterman

hello, having the same issue. looks like @radix versions compatible with react19 exist.

lutam avatar Oct 27 '25 12:10 lutam

I am bringing up the broken release internally. Our automatic CI release workflow was halted by a depreciated GitHub service we need to upgrade.

CodyJasonBennett avatar Oct 27 '25 14:10 CodyJasonBennett

Fixed with the new release

gsimone avatar Nov 02 '25 15:11 gsimone