Skip to content

Commit

Permalink
3.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bvaughn committed Apr 10, 2018
1 parent 820d5dd commit 9190291
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
</summary>
</details>

## 3.0.1 (April 10, 2018)

Replaced a few unintentional `let` keywords with `var` to ensure broader browser compatibility. ([#17](https://github.com/reactjs/react-lifecycles-compat/pull/17))

## 3.0.0 (April 9, 2018)

Throw an error for any polyfilled component that mixes old lifecycles (`componentWillMount`, `componentWillReceiveProps`, or `componentWillUpdate`) and new lifecycles (`getDerivedStateFromProps` or `getSnapshotBeforeUpdate`) as React 16.3+ does not support this case and will not invoke the old lifecycles. This error ensures consistent behavior between React 16.3+ and older versions. ([#14](https://github.com/reactjs/react-lifecycles-compat/pull/14))
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-lifecycles-compat",
"version": "3.0.0",
"version": "3.0.1",
"description": "Backwards compatibility polyfill for React class components",
"main": "react-lifecycles-compat.cjs.js",
"module": "react-lifecycles-compat.es.js",
Expand Down

0 comments on commit 9190291

Please sign in to comment.