woocommerce/plugins/woocommerce-blocks/assets/js/base/components/cart-checkout
Niels Lange 752273e6ce
[React 18] Use `createRoot().render()` instead of `render()` (#48843)
* Use createRoot().render() instead of render()

* Add changefile(s) from automation for the following project(s): woocommerce-blocks

* Replace `unmountComponentAtNode()` with `createRoot().unmount()`

* Adjust JS unit tests

* Remove obsolete import

* Remove “ReactDOM.render is no longer supported” check

* Update pnpm-lock.yaml

* Migrate JS unit test to React 18

* Revert "Update pnpm-lock.yaml"

This reverts commit 18bfc967aa.

* Migrate JS unit test to React 18

* Migrate JS unit test to React 18

* Minor refactor

* Unskip previously skipped tests

* Fix JS unit test error related to root.unmount()

* Remove obsolete dependency

* Fix failing blocks e2e test

* Fix failing core e2e tests

* Optimise memoisation to prevent “Maximum update depth exceeded” error.

* Fix Filters JS tests in #48796 (#49973)

* Run cleanup in Rating Filter JS tests

* Run cleanup and wait user interactions in Stock Status Filter JS tests

* Rename constant

* Simplify conditional statement

* Introduce TS type

* Address lint error

* Rename TS type

* Optimise multiple TS types

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Sam Seay <samueljseay@gmail.com>
Co-authored-by: Karol Manijak <20098064+kmanijak@users.noreply.github.com>
2024-07-26 09:18:48 +02:00
..
additional-fields-placeholder [Experimental] Surface additional checkout fields on Order Confirmation page (#43449) 2024-01-16 13:17:28 +00:00
cart-line-items-table [Performance]: Replace `classnames` usage with `clsx` (#47760) 2024-05-31 05:49:36 +02:00
form [React 18] Use `createRoot().render()` instead of `render()` (#48843) 2024-07-26 09:18:48 +02:00
local-pickup-select Update blocks JS tests to React 18 (#47383) 2024-05-15 21:33:36 +12:00
order-summary [Performance]: Replace `classnames` usage with `clsx` (#47760) 2024-05-31 05:49:36 +02:00
payment-method-icons [Performance]: Replace `classnames` usage with `clsx` (#47760) 2024-05-31 05:49:36 +02:00
payment-method-label [Performance]: Replace `classnames` usage with `clsx` (#47760) 2024-05-31 05:49:36 +02:00
pickup-location update text domain in plugins/woocommerce-blocks (#42717) 2023-12-12 14:12:36 -08:00
place-order-button Revert "[Enhancement]: Add option to show price on the place order button" (#49899) 2024-07-24 18:08:05 +02:00
policies Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00
product-backorder-badge update text domain in plugins/woocommerce-blocks (#42717) 2023-12-12 14:12:36 -08:00
product-badge [Performance]: Replace `classnames` usage with `clsx` (#47760) 2024-05-31 05:49:36 +02:00
product-details Update blocks JS tests to React 18 (#47383) 2024-05-15 21:33:36 +12:00
product-image Add theme-level global styles to Cart and Checkout block (https://github.com/woocommerce/woocommerce-blocks/pull/8809) 2023-04-22 00:11:10 +04:00
product-low-stock-badge update text domain in plugins/woocommerce-blocks (#42717) 2023-12-12 14:12:36 -08:00
product-metadata Simplify @woocommerce/types imports (https://github.com/woocommerce/woocommerce-blocks/pull/8019) 2022-12-23 18:59:02 +07:00
product-sale-badge update text domain in plugins/woocommerce-blocks (#42717) 2023-12-12 14:12:36 -08:00
product-summary Fix es lint warnings (https://github.com/woocommerce/woocommerce-blocks/pull/4206) 2021-05-16 18:59:32 +01:00
return-to-cart-button Revert "[Enhancement]: Add option to show price on the place order button" (#49899) 2024-07-24 18:08:05 +02:00
shipping-calculator Prevent error on Cart Shipping Calculator when using Additional Checkout Fields API (#49685) 2024-07-23 16:38:54 +01:00
shipping-location update text domain in plugins/woocommerce-blocks (#42717) 2023-12-12 14:12:36 -08:00
shipping-rates-control Update shipping and payment radio controls to use borders on selected items (#46150) 2024-04-10 02:54:05 -07:00
shipping-rates-control-package Block Checkout: Fix default shipping selection on toggle pickup (#49718) 2024-07-23 16:25:35 +01:00
totals Spacing adjustments for coupon code in the Cart and Checkout blocks (#49603) 2024-07-19 12:47:17 +02:00
index.js [Experimental] Surface additional checkout fields on Order Confirmation page (#43449) 2024-01-16 13:17:28 +00:00