@wordpress/compose
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "@wordpress/compose", | ||
"version": "1.0.1", | ||
"description": "WordPress Higher Order components", | ||
"version": "1.0.2", | ||
"description": "WordPress higher-order components (HOCs).", | ||
"author": "The WordPress Contributors", | ||
@@ -22,6 +22,7 @@ "license": "GPL-2.0-or-later", | ||
"module": "build-module/index.js", | ||
"react-native": "src/index", | ||
"dependencies": { | ||
"@babel/runtime": "^7.0.0-beta.52", | ||
"@wordpress/element": "^1.0.1", | ||
"@wordpress/is-shallow-equal": "^1.1.1", | ||
"@wordpress/element": "^1.0.2", | ||
"@wordpress/is-shallow-equal": "^1.1.2", | ||
"lodash": "^4.17.10" | ||
@@ -37,3 +38,3 @@ }, | ||
}, | ||
"gitHead": "a1bb35112ec6174c33e09c337dd0382b83f7abe3" | ||
"gitHead": "04961befa151ae1224f50ae2b3742d797b7409d9" | ||
} |
@@ -1,4 +0,4 @@ | ||
# @wordpress/compose | ||
# Compose | ||
The `compose` package is a collection of handy [Higher Order Components](https://facebook.github.io/react/docs/higher-order-components.html) you can use to wrap your WordPress components and provide some basic features like: State, instanceId, pure... | ||
The `compose` package is a collection of handy [Higher Order Components](https://facebook.github.io/react/docs/higher-order-components.html) (HOCs) you can use to wrap your WordPress components and provide some basic features like: state, instance id, pure... | ||
@@ -5,0 +5,0 @@ ## Installation |
@@ -42,3 +42,3 @@ /** | ||
it( 'Should not remount the inner component if the prop value doesn\'t change', () => { | ||
it( 'Should not remount the inner component if the prop value doesn’t change', () => { | ||
const Wrapped = remountOnPropChange( 'monitor' )( MountCounter ); | ||
@@ -45,0 +45,0 @@ const testRenderer = TestRenderer.create( |
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
72207