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

@shopify/react-hooks

Package Overview
Dependencies
Maintainers
13
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopify/react-hooks - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

CHANGELOG.md

@@ -10,4 +10,6 @@ # Changelog

## [1.0.1] - 2019-04-17
### Added
- `@shopify/react-hooks` package with initial hooks for `useTimeout` and `useOnValueChange` ([#609](https://github.com/Shopify/quilt/pull/609))

2

package.json
{
"name": "@shopify/react-hooks",
"version": "1.0.0",
"version": "1.0.1",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "A collection of primitive React hooks.",

@@ -20,3 +20,3 @@ # `@shopify/react-hooks`

```
```tsx
function MyComponent({foo}: {foo: string}) {

@@ -35,3 +35,3 @@ useOnValueChange(foo, (newValue, oldValue) => {

```
```tsx
function MyComponent() {

@@ -38,0 +38,0 @@ const [foo, setFoo] = React.useState('Bar');

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