react-custom-scroll
react-custom-scroll copied to clipboard
fix: resolve React 19 compatibility issue
- 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.
playright tested