woocommerce/plugins/woocommerce-blocks/assets/js/base/components/cart-checkout/form
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
..
test [React 18] Use `createRoot().render()` instead of `render()` (#48843) 2024-07-26 09:18:48 +02:00
address-line-2-field.tsx Make the address 2 line visible when a value is autofilled (#49730) 2024-07-23 16:44:20 +01:00
address-line-fields.tsx normalize IDs for form fields in Checkout (#47650) 2024-05-22 22:54:03 +02:00
custom-validation-handler.ts Support additional fields in the Contact step for Checkout (#43088) 2024-01-05 18:35:28 +01:00
form.tsx Checkout: Add placeholder option to country and state select, add error validation (#49616) 2024-07-24 17:59:15 +02:00
index.ts Support additional fields in the Contact step for Checkout (#43088) 2024-01-05 18:35:28 +01:00
prepare-form-fields.ts Support additional fields in the Contact step for Checkout (#43088) 2024-01-05 18:35:28 +01:00
style.scss Make the address 2 line visible when a value is autofilled (#49730) 2024-07-23 16:44:20 +01:00
types.ts [Accessibility] Convert edit address link to a button (#49471) 2024-07-17 16:54:41 +02:00
utils.ts normalize IDs for form fields in Checkout (#47650) 2024-05-22 22:54:03 +02:00
validate-country.ts Checkout: Add placeholder option to country and state select, add error validation (#49616) 2024-07-24 17:59:15 +02:00
validate-state.ts Checkout: Add placeholder option to country and state select, add error validation (#49616) 2024-07-24 17:59:15 +02:00