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

'popupstate' cannot be used as a jsx component #100

Closed
enoh-barbu opened this issue Apr 27, 2022 · 3 comments
Closed

'popupstate' cannot be used as a jsx component #100

enoh-barbu opened this issue Apr 27, 2022 · 3 comments
Labels

Comments

@enoh-barbu
Copy link

Related to facebook/react#24304
Please have a look on this bug

@omridevk
Copy link

for now downgrading react types to 17, solves the issues.

@enoh-barbu
Copy link
Author

yes, using resolutions... Just saying this because I had the issue using popupState

@jedwards1211
Copy link
Member

jedwards1211 commented Dec 12, 2022

fixed in ae8c286

Released in v5.0.0

Sorry for the long delay...finally rewrote the package in TS. The situation with TS defs for React is really bad...

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

No branches or pull requests

3 participants