box / box-ui-elements

React Components for Box's Design System and Pluggable Components
https://developer.box.com/docs/box-ui-elements
Other
539 stars 306 forks source link

Support for React 19 #3717

Open michaelhays opened 1 week ago

michaelhays commented 1 week ago

Creating this issue to track box-ui-elements support for React 19.

I upgraded react and react-dom to the latest RC versions (19.0.0-rc-77b637d6-20241016 at the time of this writing), and I'm no longer able to import from box-ui-elements, due to this error:

I'm finding some other errors testing with the Next.js 15 RC, but I'm not sure if these are strictly React 19 related.

Turbopack (bun next dev --turbo)

Webpack (bun next build)

michaelhays commented 4 days ago

Just a heads up, Next.js 15 was just released as stable, and requires React 19 for the app router.