woocommerce/plugins/woocommerce-blocks/assets/js/base/hooks
Darren Ethier 74fe220f89 Add new hooks related to payment methods and checkout and remove obsolete. (https://github.com/woocommerce/woocommerce-blocks/pull/1929)
* add various hooks and improve hooks folder structure

- Also restructures hooks directory to make things a bit more organized
- Add useStoreOrder placeholder (followed up in future pull)
- Add useBillingData hook.

* implement usePaymentMethodInterface hook in payment method components

* remove obsolete hooks and implement new checkout context hooks

- add useCheckoutSubmit which exposes checkout submit button interface
- add useCheckoutRedirectUrl which exposes checkout redirect url interface

* add alias for `@woocommerce/base-utils` to jest config

* use consistent variable names for payment method id
2020-03-11 06:50:12 -04:00
..
cart Add new hooks related to payment methods and checkout and remove obsolete. (https://github.com/woocommerce/woocommerce-blocks/pull/1929) 2020-03-11 06:50:12 -04:00
checkout Add new hooks related to payment methods and checkout and remove obsolete. (https://github.com/woocommerce/woocommerce-blocks/pull/1929) 2020-03-11 06:50:12 -04:00
order Add new hooks related to payment methods and checkout and remove obsolete. (https://github.com/woocommerce/woocommerce-blocks/pull/1929) 2020-03-11 06:50:12 -04:00
payment-methods Add new hooks related to payment methods and checkout and remove obsolete. (https://github.com/woocommerce/woocommerce-blocks/pull/1929) 2020-03-11 06:50:12 -04:00
shipping Add new hooks related to payment methods and checkout and remove obsolete. (https://github.com/woocommerce/woocommerce-blocks/pull/1929) 2020-03-11 06:50:12 -04:00
test Add new hooks related to payment methods and checkout and remove obsolete. (https://github.com/woocommerce/woocommerce-blocks/pull/1929) 2020-03-11 06:50:12 -04:00
index.js Add new hooks related to payment methods and checkout and remove obsolete. (https://github.com/woocommerce/woocommerce-blocks/pull/1929) 2020-03-11 06:50:12 -04:00
use-collection-data.js Add contexts for checkout (https://github.com/woocommerce/woocommerce-blocks/pull/1915) 2020-03-10 09:39:21 -04:00
use-collection-header.js Active filters block (https://github.com/woocommerce/woocommerce-blocks/pull/1168) 2019-11-15 14:41:23 +00:00
use-collection.js Update and select shipping rates dynamically (https://github.com/woocommerce/woocommerce-blocks/pull/1794) 2020-03-05 20:54:05 +01:00
use-previous.js Update NPM dependencies and script dependency handling (https://github.com/woocommerce/woocommerce-blocks/pull/1337) 2019-12-10 12:17:46 -05:00
use-query-state.js Add contexts for checkout (https://github.com/woocommerce/woocommerce-blocks/pull/1915) 2020-03-10 09:39:21 -04:00
use-shallow-equal.js Update NPM dependencies and script dependency handling (https://github.com/woocommerce/woocommerce-blocks/pull/1337) 2019-12-10 12:17:46 -05:00
use-store-notices.js Add contexts for checkout (https://github.com/woocommerce/woocommerce-blocks/pull/1915) 2020-03-10 09:39:21 -04:00
use-store-products.js Add API fetch error handling (https://github.com/woocommerce/woocommerce-blocks/pull/1687) 2020-01-31 13:01:34 +00:00