Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for React 19 #3717

Open
michaelhays opened this issue Oct 16, 2024 · 2 comments
Open

Support for React 19 #3717

michaelhays opened this issue Oct 16, 2024 · 2 comments

Comments

@michaelhays
Copy link

michaelhays commented Oct 16, 2024

I upgraded react and react-dom to version 19.0.0, and I'm no longer able to import from box-ui-elements, due to this error:

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

  • The export default was not found in module [project]/node_modules/tabbable/dist/index.esm.js
    • Fixed by changing import tabbable from 'tabbable' to import { tabbable } from 'tabbable'
  • /node_modules/box-ui-elements/es/components/toggle/Toggle.scss.css:33:9 Parsing css source code failed
    • Maybe caused by trying to parse SCSS as CSS?
@michaelhays
Copy link
Author

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

@michaelhays
Copy link
Author

michaelhays commented Dec 6, 2024

React 19 stable just dropped! https://react.dev/blog/2024/12/05/react-19

@greg-in-a-box Are there any plans to prioritize adding support here? Our team may be able to contribute, if helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant