woocommerce/plugins/woocommerce-blocks/assets/js/previews
Albert Juhé Lluveras ff9c73bec5 Implement memoization in several selectors and hooks (https://github.com/woocommerce/woocommerce-blocks/pull/4548)
* Memoize cartErrors from useStoreCart

* Implement memoization to other selectors

* Use EMPTY_ARRAY in more cases

* Create getArrayOrEmptyConstant function

* Remove DEFAULT_EMPTY_ARRAY constant and use EMPTY_ARRAY instead

* Wrap removeItem into useCallback

* Fix tests

* Do not default to empty array/object for values that should exist and use different constant for empty values

* Type two empty array constants from default-states.ts
2021-08-13 15:28:41 +02:00
..
cart.ts Implement memoization in several selectors and hooks (https://github.com/woocommerce/woocommerce-blocks/pull/4548) 2021-08-13 15:28:41 +02:00
categories.js Audit and Move Image Assets, update error state (https://github.com/woocommerce/woocommerce-blocks/pull/4389) 2021-06-29 15:04:24 +01:00
grid-block.js Audit and Move Image Assets, update error state (https://github.com/woocommerce/woocommerce-blocks/pull/4389) 2021-06-29 15:04:24 +01:00
index.js Use real previews for the Cart and Checkout blocks (https://github.com/woocommerce/woocommerce-blocks/pull/2992) 2020-08-13 14:24:51 +01:00
products.js Audit and Move Image Assets, update error state (https://github.com/woocommerce/woocommerce-blocks/pull/4389) 2021-06-29 15:04:24 +01:00
reviews.js Audit and Move Image Assets, update error state (https://github.com/woocommerce/woocommerce-blocks/pull/4389) 2021-06-29 15:04:24 +01:00
saved-payment-methods.js Fixes regression with payment method validation (https://github.com/woocommerce/woocommerce-blocks/pull/2450) 2020-05-10 19:41:10 -04:00
shipping-rates.ts Convert shipping components to typescript (https://github.com/woocommerce/woocommerce-blocks/pull/4135) 2021-05-10 10:03:30 +01:00
single-product-block.js Audit and Move Image Assets, update error state (https://github.com/woocommerce/woocommerce-blocks/pull/4389) 2021-06-29 15:04:24 +01:00