Skip to content

Conversation

@GeraltWang
Copy link

  • Move react and react-dom to peerDependencies to avoid multiple React instances
  • Update build configuration to properly externalize React
  • Fixes 'Cannot read properties of undefined (reading ReactCurrentDispatcher)' error
  • Supports React 18+ including React 19

Resolves compatibility issues when using this package with React 19.

- Move react and react-dom to peerDependencies to avoid multiple React instances
- Keep styled-components and lodash as dependencies for better UX
- Update build configuration to properly externalize React
- Fixes 'Cannot read properties of undefined (reading ReactCurrentDispatcher)' error
- Supports React 18+ including React 19

Resolves compatibility issues when using this package with React 19.
@GeraltWang
Copy link
Author

image playright tested

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

Successfully merging this pull request may close these issues.

1 participant