diff --git a/examples/pass-server-data/package.json b/examples/pass-server-data/package.json index 7259805c..77af8542 100644 --- a/examples/pass-server-data/package.json +++ b/examples/pass-server-data/package.json @@ -8,9 +8,10 @@ }, "dependencies": { "express": "^4.14.0", - "isomorphic-fetch": "^2.2.1", + "isomorphic-unfetch": "^2.0.0", "next": "latest", - "react": "^15.4.2", - "react-dom": "^15.4.2" - } + "react": "^16.0.0", + "react-dom": "^16.0.0" + }, + "license": "ISC" } diff --git a/examples/pass-server-data/pages/item.js b/examples/pass-server-data/pages/item.js index bea6748e..70bf03f1 100644 --- a/examples/pass-server-data/pages/item.js +++ b/examples/pass-server-data/pages/item.js @@ -1,6 +1,6 @@ import {Component} from 'react' import Link from 'next/link' -import fetch from 'isomorphic-fetch' +import fetch from 'isomorphic-unfetch' export default class extends Component { static async getInitialProps ({ req, query }) {