Skip to content

Commit

Permalink
Drop support for React 16.11.0+ [major]
Browse files Browse the repository at this point in the history
Closes #40.
  • Loading branch information
overlookmotel committed Nov 27, 2019
1 parent b06d8fc commit 0ea20cc
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ It provides async versions of `.renderToString()` and `.renderToStaticMarkup()`
npm install react-async-ssr
```

Also requires React >= 16.6.0. This package does not work with React 16.10.x but working again with 16.11.0 and above.
Also requires React 16.6.0 - 16.9.x. React 16.10.0+ is not supported at present.

### Moving to async server-side rendering

Expand Down
20 changes: 10 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
"url": "https://github.com/overlookmotel/react-async-ssr/issues"
},
"dependencies": {
"react-dom": "^16.12.0"
"react-dom": "~16.9.0"
},
"peerDependencies": {
"react": "16.6.0 - 16.9.x || ^16.11.0"
"react": "16.6.0 - 16.9.x"
},
"devDependencies": {
"@babel/core": "^7.7.4",
Expand Down Expand Up @@ -46,7 +46,7 @@
"jest-each-object": "^1.0.0",
"jsdom": "^15.2.1",
"prop-types": "^15.7.2",
"react": "^16.12.0"
"react": "~16.9.0"
},
"keywords": [
"react",
Expand Down

0 comments on commit 0ea20cc

Please sign in to comment.