Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@react-hookz/web

Package Overview
Dependencies
Maintainers
2
Versions
128
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-hookz/web - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

dist/useMountEffect.d.ts

7

CHANGELOG.md

@@ -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 @@

3

dist/useFirstMountState.d.ts

@@ -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);

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc