Skip to content

Move react-dom to dependencies #577

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

Merged
merged 2 commits into from
May 13, 2018
Merged

Move react-dom to dependencies #577

merged 2 commits into from
May 13, 2018

Conversation

itsmichaeldiego
Copy link
Member

React-dom is required by src/google_map.js. But it was not listed as peerDependency, because of this, we were not able to use Google-map-react in a project that does not have react-dom as a dependency.

@itsmichaeldiego itsmichaeldiego force-pushed the fix-dependencies branch 2 times, most recently from 55322bd to a53e2d3 Compare May 13, 2018 17:24
@itsmichaeldiego itsmichaeldiego merged commit b7d61df into master May 13, 2018
@itsmichaeldiego itsmichaeldiego deleted the fix-dependencies branch May 13, 2018 17:28
@@ -43,7 +43,8 @@
"homepage": "https://github.com/google-map-react/google-map-react#readme",
"peerDependencies": {
"prop-types": "^15.5.6",
"react": "^0.14.0 || ^15.0.0 || ^16.0.0"
"react": "^0.14.0 || ^15.0.0 || ^16.0.0",
"react-dom": "^16.0.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be "react-dom": "^0.14.0 || ^15.0.0 || ^16.0.0" ?

@lock
Copy link

lock bot commented Dec 1, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Dec 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants