woocommerce/plugins/woocommerce-blocks/tests
Mike Jolley c55a387657 Prevent multiple collection data requests using debounce (https://github.com/woocommerce/woocommerce-blocks/pull/1233)
* Add context for collection data query

* Introduce useCollectionData hook

* Implement hook in filter blocks

* Update API to handle nuances of counts instead of client side

* Clone requests so original is untouched

* Prevent dupe requests is working

* Cleanup

* Update assets/js/base/hooks/use-collection-data.js

Co-Authored-By: Albert Juhé Lluveras <aljullu@gmail.com>

* Update assets/js/base/hooks/use-collection-data.js

Co-Authored-By: Albert Juhé Lluveras <aljullu@gmail.com>

* Feedback

* Remove context
2019-11-23 17:04:30 +00:00
..
bin Add bundlesize package and tweak travis config (https://github.com/woocommerce/woocommerce-blocks/pull/822) 2019-08-09 14:08:31 -04:00
js Add context for query state context string. (https://github.com/woocommerce/woocommerce-blocks/pull/1172) 2019-11-14 12:16:27 -05:00
php Prevent multiple collection data requests using debounce (https://github.com/woocommerce/woocommerce-blocks/pull/1233) 2019-11-23 17:04:30 +00:00
bootstrap.php Add bundlesize package and tweak travis config (https://github.com/woocommerce/woocommerce-blocks/pull/822) 2019-08-09 14:08:31 -04:00