Skip to content

Commit

Permalink
Updated examples to be compatible with React 15.5
Browse files Browse the repository at this point in the history
  • Loading branch information
dlmr committed Apr 20, 2017
1 parent 5507395 commit 034f9c8
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 15 deletions.
6 changes: 3 additions & 3 deletions examples/named-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"isomorphic-fetch": "2.2.1",
"koa": "1.2.0",
"nunjucks": "2.4.2",
"react": "^15.0.2",
"react-dom": "^15.0.2",
"react-router": "^2.5.2",
"react": "^15.5.0",
"react-dom": "^15.5.0",
"react-router": "^3.0.5",
"react-router-redial": "^0.1.3",
"redial": "^0.5.0"
},
Expand Down
6 changes: 3 additions & 3 deletions examples/redux/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"isomorphic-fetch": "2.2.1",
"koa": "1.2.0",
"nunjucks": "2.4.2",
"react": "^15.0.2",
"react-dom": "^15.0.2",
"react-router": "^2.5.2",
"react": "^15.5.0",
"react-dom": "^15.5.0",
"react-router": "^3.0.5",
"react-router-redial": "^0.1.3",
"redial": "^0.5.0",
"redux-devtools": "3.2.0",
Expand Down
3 changes: 2 additions & 1 deletion examples/simple-with-scroll/components/App.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { Component, PropTypes } from 'react';
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { Link, IndexLink } from 'react-router';

export default class App extends Component {
Expand Down
7 changes: 4 additions & 3 deletions examples/simple-with-scroll/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@
"isomorphic-fetch": "2.2.1",
"koa": "1.2.0",
"nunjucks": "2.4.2",
"react": "^15.0.2",
"react-dom": "^15.0.2",
"react-router": "^2.5.2",
"prop-types": "^15.5.8",
"react": "^15.5.0",
"react-dom": "^15.5.0",
"react-router": "^3.0.5",
"react-router-redial": "^0.1.3",
"react-router-scroll": "^0.3.2",
"redial": "^0.5.0"
Expand Down
3 changes: 2 additions & 1 deletion examples/simple/components/App.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { Component, PropTypes } from 'react';
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { Link, IndexLink } from 'react-router';

export default class App extends Component {
Expand Down
3 changes: 2 additions & 1 deletion examples/simple/components/Github.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { Component, PropTypes } from 'react';
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { withRouter } from 'react-router';

class Github extends Component {
Expand Down
7 changes: 4 additions & 3 deletions examples/simple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@
"isomorphic-fetch": "2.2.1",
"koa": "1.2.0",
"nunjucks": "2.4.2",
"react": "^15.0.2",
"react-dom": "^15.0.2",
"react-router": "^2.5.2",
"prop-types": "^15.5.8",
"react": "^15.5.0",
"react-dom": "^15.5.0",
"react-router": "^3.0.5",
"react-router-redial": "^0.1.3",
"redial": "^0.5.0"
},
Expand Down

0 comments on commit 034f9c8

Please sign in to comment.