@react-hookz/web
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -0,1 +1,8 @@ | ||
# [1.1.0](https://github.com/react-hookz/web/compare/v1.0.0...v1.1.0) (2021-04-15) | ||
### Features | ||
* implement useMountEffect and useUnmountEffect hooks ([98ec434](https://github.com/react-hookz/web/commit/98ec434d3b9b9e56ebb92ce4bf047a2ef9d19c8f)) | ||
# 1.0.0 (2021-04-14) | ||
@@ -2,0 +9,0 @@ |
@@ -0,1 +1,4 @@ | ||
/** | ||
* Returns boolean that is `true` only on first render | ||
*/ | ||
export declare function useFirstMountState(): boolean; |
@@ -5,2 +5,5 @@ "use strict"; | ||
const react_1 = require("react"); | ||
/** | ||
* Returns boolean that is `true` only on first render | ||
*/ | ||
function useFirstMountState() { | ||
@@ -7,0 +10,0 @@ const isFirstMount = react_1.useRef(true); |
{ | ||
"name": "@react-hookz/web", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8559
15
70