woocommerce/plugins/woocommerce-blocks/assets/js/base/utils
Thomas Roberts 29331f4323
Add flag to enable WC Blocks rendering with React 18 (#52473)
* Revert "Revert update to createRoot in Checkout block. (#51289)"

This reverts commit 96497814e4.

* Add __experimentalUseReact18 setting to AssetDataRegistry

* Render blocks with react 18 if __experimentalUseReact18 is true

* Re-add test console log expects

* Reimplement legacy root rendering for error checking tests

* Add changelog
2024-11-11 10:17:06 +00:00
..
test Update shipping calculator wording and Cart/Checkout order summary title (#51072) 2024-09-09 15:19:57 +02:00
address.ts Update shipping calculator wording and Cart/Checkout order summary title (#51072) 2024-09-09 15:19:57 +02:00
camel-case-keys.ts Fix/you do not need lodash (https://github.com/woocommerce/woocommerce-blocks/pull/9161) 2023-04-28 11:29:45 +01:00
create-notice.ts update text domain in plugins/woocommerce-blocks (#42717) 2023-12-12 14:12:36 -08:00
debounce.ts Fix/you do not need lodash (https://github.com/woocommerce/woocommerce-blocks/pull/9161) 2023-04-28 11:29:45 +01:00
derive-selected-shipping-rates.ts Handle Local Pickup Selection in the Cart (https://github.com/woocommerce/woocommerce-blocks/pull/7958) 2023-01-12 15:42:43 +01:00
errors.ts Refactor errors util to TypeScript, minor typing fixes (https://github.com/woocommerce/woocommerce-blocks/pull/10754) 2023-08-30 18:56:28 +12:00
get-icons-from-payment-methods.ts Simplify @woocommerce/types imports (https://github.com/woocommerce/woocommerce-blocks/pull/8019) 2022-12-23 18:59:02 +07:00
get-inline-styles.ts [Performance]: Replace `classnames` usage with `clsx` (#47760) 2024-05-31 05:49:36 +02:00
get-navigation-type.ts Refresh the cart when using the browser back button (https://github.com/woocommerce/woocommerce-blocks/pull/8236) 2023-01-25 16:28:41 +00:00
get-valid-block-attributes.js Update @woocmmerce/eslint-plugin to 2.0.0 (https://github.com/woocommerce/woocommerce-blocks/pull/6203) 2022-04-08 14:47:19 +01:00
index.js Fix a11y issues in Cart/Checkout (#47470) 2024-05-16 18:32:22 +02:00
keyby.ts Fix/you do not need lodash (https://github.com/woocommerce/woocommerce-blocks/pull/9161) 2023-04-28 11:29:45 +01:00
lazy-load-script.ts Remove wc-blocks-registry from Mini Cart block dependencies so more scripts can be lazy-loaded (https://github.com/woocommerce/woocommerce-blocks/pull/8657) 2023-03-08 17:15:07 +01:00
legacy-events.ts Product Collection: Trigger `wc-blocks_viewed_product` JS event (#51156) 2024-09-05 12:52:35 +02:00
map-keys.ts Fix/you do not need lodash (https://github.com/woocommerce/woocommerce-blocks/pull/9161) 2023-04-28 11:29:45 +01:00
pick.ts Refactor Push Changes Readability and Performance (https://github.com/woocommerce/woocommerce-blocks/pull/10315) 2023-08-09 18:24:51 +01:00
preload-script.ts Prevent Mini Cart loading the same script twice (https://github.com/woocommerce/woocommerce-blocks/pull/7794) 2022-12-01 11:54:28 +01:00
product-data.js Add inspector notice for unsupported product types (https://github.com/woocommerce/woocommerce-blocks/pull/2944) 2020-08-06 10:28:20 -04:00
render-frontend.tsx Add flag to enable WC Blocks rendering with React 18 (#52473) 2024-11-11 10:17:06 +00:00
shipping-rates.ts Cart Block: Refactor shipping totals. Separate cart and checkout logic. More clearly distinguish between Collection and Delivery (#52546) 2024-11-06 12:29:15 +00:00
snake-case-keys.ts Fix/you do not need lodash (https://github.com/woocommerce/woocommerce-blocks/pull/9161) 2023-04-28 11:29:45 +01:00
use-return-focus.ts Correctly attribute focus back when opening the mini cart several times (#47683) 2024-05-22 17:03:22 +02:00