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

Resium throws error when bumping to react 19 #689

Open
Tracked by #158
Primajin opened this issue Dec 11, 2024 · 5 comments
Open
Tracked by #158

Resium throws error when bumping to react 19 #689

Primajin opened this issue Dec 11, 2024 · 5 comments

Comments

@Primajin
Copy link

Hey there, dependabot was suggesting an upgrade to react 19, however resium doesn't seem to be compatible yet and throws an error - are you aware of this yet?

TypeError: Cannot read properties of undefined (reading 'ReactCurrentDispatcher')
 ❯ node_modules/resium/dist/resium.mjs:210:16
    208|       }
    209|     }
    210|     var te = _.ReactCurrentDispatcher, z;
       |                ^
    211|     function Ce(n, s, a) {

Thanks in advance

@sam-skydio
Copy link

Also interested in this - we've been working on an upgrade to React 19 and are seeing this error

@jjrise
Copy link

jjrise commented Dec 17, 2024

Awesome, would love to see React 19 support!

@stephen-mi11er
Copy link

Getting the same error too

@hambone01
Copy link

Same here.
Screenshot 2025-01-08 at 1 09 56 PM

@BlueMoose2
Copy link

I second this. Spent over an hour confused why it wasn't working with React 19. Using React 18 everything works fine.

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

7 participants
@Primajin @stephen-mi11er @BlueMoose2 @hambone01 @jjrise @sam-skydio and others