Skip to content

Commit 443a5fd

Browse files
committed
feat(package.json): upgrade to React@^0.14
* Closes #127, #102 * Ref #116 BREAKING CHANGE * __React@^0.14__: upgrade React in peerDependencies * add __react-dom@^0.14__ to peerDependencies
1 parent 21d649f commit 443a5fd

File tree

3 files changed

+14
-9
lines changed

3 files changed

+14
-9
lines changed

package.json

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -56,19 +56,22 @@
5656
},
5757
"homepage": "https://tomchentw.github.io/react-google-maps/",
5858
"devDependencies": {
59-
"babel": "^5.1.13",
60-
"babel-core": "^5.1.13",
61-
"babel-eslint": "^4.0.5",
62-
"eslint": "^1.0.0",
63-
"eslint-plugin-react": "^3.2.0",
64-
"tomchentw-npm-dev": "^3.0.0",
65-
"rimraf": "^2.4.3"
59+
"babel": "^5.8.23",
60+
"babel-core": "^5.8.25",
61+
"babel-eslint": "^4.1.3",
62+
"eslint": "^1.6.0",
63+
"eslint-plugin-react": "^3.5.1",
64+
"react": "^0.14.0",
65+
"react-dom": "^0.14.0",
66+
"rimraf": "^2.4.3",
67+
"tomchentw-npm-dev": "^3.1.0"
6668
},
6769
"dependencies": {
6870
"google-maps-infobox": "^1.1.13",
69-
"invariant": "^2.1.0"
71+
"invariant": "^2.1.1"
7072
},
7173
"peerDependencies": {
72-
"react": "^0.13.0"
74+
"react": "^0.14.0",
75+
"react-dom": "^0.14.0"
7376
}
7477
}

src/creators/OverlayViewCreator.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ export default class OverlayViewCreator extends Component {
6666
};
6767

6868
overlayView._renderContent = function () {
69+
// FIXME: React@0.14
6970
React.render(
7071
Children.only(this.get("children")),
7172
this._containerElement

src/utils/setContentForOptionalReactElement.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ function renderElement (
1111
prevContent = document.createElement("div");
1212
}
1313

14+
// FIXME: React@0.14
1415
React.render(contentElement, prevContent);
1516
return prevContent;
1617
}

0 commit comments

Comments
 (0)