You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe this problem was introduced in 3.5.0 in this commit: 1ff9e16
If I forcibly downgrade to version 3.4.13, the type error goes away.
Even though this package claims that it supports any React version in its peer dependencies, it's using a very new version of @types/react, which works only with React 18. We're using React 17 in our project, so that's why we're seeing this error. Seems like either the version of @types/react should be downgraded/reverted, or the peer dependencies should be updated to reflect reality.
Version 3.5.1 is throwing a type error from inside node_modules:
The text was updated successfully, but these errors were encountered: