Skip to content

Commit

Permalink
[cli] Support React 16 (#665)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoerge committed Mar 15, 2018
1 parent cff9f7e commit 7e302ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/@sanity/core/src/util/checkReactCompatibility.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ const semver = require('semver')
const resolveFrom = require('resolve-from')

const supported = {
react: '^15.0.0',
'react-dom': '^15.0.0'
react: '^15 || ^16',
'react-dom': '^15 || ^16'
}

module.exports = workDir => {
Expand Down

0 comments on commit 7e302ea

Please sign in to comment.