woocommerce/plugins/woocommerce-blocks/assets/js
Albert Juhé Lluveras 46934d2946 Create withReviews base HOC (https://github.com/woocommerce/woocommerce-blocks/pull/877)
* Create withReviews base HOC

* Add tests

* Make Reviews by Category use withReviews HOC

* Move componentDidUpdate and debounce dependency to decouple HOC from components

* Spaces

* Rename 'delayMethod' to 'delayFunction'

* Refactor withReviews HOC

* Update tests

* Minor fixes

* Undo fix being handled in woocommerce/woocommerce-blocks#884

* Remove hardcoded from withReviews

* Update delay comment

* Use callbacks instead of announceUpdates prop

* Move props check to a 'shouldReplaceReviews' method

* Fix productId propType

* Move per_page and offset args to 'getArgs'

* Update withReviews displayName

* Fix tests

* Add callback propsTypes

* Use is-shallow-equal
2019-08-22 13:36:20 +02:00
..
base Create withReviews base HOC (https://github.com/woocommerce/woocommerce-blocks/pull/877) 2019-08-22 13:36:20 +02:00
blocks Create withReviews base HOC (https://github.com/woocommerce/woocommerce-blocks/pull/877) 2019-08-22 13:36:20 +02:00
components Reviews by category block (https://github.com/woocommerce/woocommerce-blocks/pull/804) 2019-08-19 15:13:07 +01:00
hocs Move wc_product_block_data variables to constants file (https://github.com/woocommerce/woocommerce-blocks/pull/870) 2019-08-17 11:14:11 +02:00
settings Add global data helpers (https://github.com/woocommerce/woocommerce-blocks/pull/848) 2019-08-13 15:43:48 +01:00
utils Move wc_product_block_data variables to constants file (https://github.com/woocommerce/woocommerce-blocks/pull/870) 2019-08-17 11:14:11 +02:00
constants.js Move wc_product_block_data variables to constants file (https://github.com/woocommerce/woocommerce-blocks/pull/870) 2019-08-17 11:14:11 +02:00
index.js Remove the styles build target in webpack (https://github.com/woocommerce/woocommerce-blocks/pull/610) 2019-06-10 12:47:14 -04:00