Skip to content

Fix add missing peer dependency #1371

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

Closed
wants to merge 1 commit into from
Closed

Conversation

zkochan
Copy link

@zkochan zkochan commented Aug 6, 2019

react-dom is used in production code, so it should be a peer dependency

export { unstable_batchedUpdates } from 'react-dom'

It currently causes issues with pnpm which won't provide access to packages that
are not declared as dependencies in package.json

react-dom is used in production code, so it should be a peer dependency
https://github.com/reduxjs/react-redux/blob/fa5857281a37545c7c036fb2499159b865b1c57d/src/utils/reactBatchedUpdates.js#L2

It currently causes issues with pnpm which won't provide access to packages that
are not declared as dependencies in package.json
@netlify
Copy link

netlify bot commented Aug 6, 2019

Deploy preview for react-redux-docs ready!

Built with commit cdaf2eb

https://deploy-preview-1371--react-redux-docs.netlify.com

@markerikson
Copy link
Contributor

No, it shouldn't be, because of how we're handling the imports. Please see #1366 for prior discussion.

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.

2 participants