react-use
Advanced tools
Comparing version 5.1.1 to 5.1.2
@@ -0,1 +1,8 @@ | ||
## [5.1.2](https://github.com/streamich/react-use/compare/v5.1.1...v5.1.2) (2018-12-29) | ||
### Bug Fixes | ||
* reset state when calling useEffect in useAsync ([2f5af2c](https://github.com/streamich/react-use/commit/2f5af2c)) | ||
## [5.1.1](https://github.com/streamich/react-use/compare/v5.1.0...v5.1.1) (2018-12-20) | ||
@@ -2,0 +9,0 @@ |
@@ -11,2 +11,5 @@ "use strict"; | ||
let mounted = true; | ||
set({ | ||
loading: true, | ||
}); | ||
const promise = memoized(); | ||
@@ -13,0 +16,0 @@ promise |
{ | ||
"name": "react-use", | ||
"version": "5.1.1", | ||
"version": "5.1.2", | ||
"description": "Collection of React Hooks", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
81804
1825