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 · 1 comment
Open

Support for React 19 #3717

michaelhays opened this issue Oct 16, 2024 · 1 comment

Comments

@michaelhays
Copy link

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)

  • 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?

Webpack (bun next build)

  • Module not found: Can't resolve 'moment' in '/home/michael/projects/sirvatus/node_modules/pikaday'
@michaelhays
Copy link
Author

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

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