Skip to content

Commit e483ee6

Browse files
bossbossk20zalmoxisus
authored andcommitted
Update counter example: react version to 15.5 (#346)
1 parent 4ae55d2 commit e483ee6

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

examples/counter/components/Counter.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import React, { Component, PropTypes } from 'react';
1+
import React, { Component } from 'react';
2+
import PropTypes from 'prop-types';
23
import { isMonitorAction } from '../store/configureStore';
34

45
class Counter extends Component {

examples/counter/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@
1717
},
1818
"homepage": "http://rackt.github.io/redux",
1919
"dependencies": {
20-
"react": "^15.1.0",
21-
"react-dom": "^15.1.0",
20+
"prop-types": "^15.5.8",
21+
"react": "^15.5.4",
22+
"react-dom": "^15.5.4",
2223
"react-redux": "^4.4.5",
2324
"redux": "^3.5.2",
2425
"redux-devtools-extension": "^1.0.0",

0 commit comments

Comments
 (0)