woocommerce/plugins/woocommerce-blocks/assets/js
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
..
atomic [React 18] Use `createRoot().render()` instead of `render()` (#48843) 2024-07-26 09:18:48 +02:00
base [React 18] Use `createRoot().render()` instead of `render()` (#48843) 2024-07-26 09:18:48 +02:00
blocks [React 18] Use `createRoot().render()` instead of `render()` (#48843) 2024-07-26 09:18:48 +02:00
blocks-registry Expose `__experimentalRegisterProductCollection` in @woocommerce/blocks-registry Package (#48141) 2024-07-05 16:55:35 +05:30
data Checkout: Add password field to create account form (#48985) 2024-07-15 11:43:02 +01:00
editor-components Revert "[Enhancement]: Add option to show price on the place order button" (#49899) 2024-07-24 18:08:05 +02:00
extensions Use `createRoot().render()` instead of `render()` (#48858) 2024-07-04 11:36:38 +02:00
filters Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00
hocs With Product Variations HOC > Convert to TypeScript (#44785) 2024-02-26 10:26:21 -03:00
icons [Experimental] Product Filters Redesign: Move icons to @woocommerce/icons package (#49646) 2024-07-18 15:53:39 -03:00
interactivity [Experimental] Interactivity Dropdown multi-select mode, ratings filter and introduce each directive (#42981) 2023-12-22 13:34:28 +13:00
middleware Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00
previews Extensibility: Format currency config so it can be consumed more easily (#48727) 2024-07-12 14:24:22 +01:00
settings Extensibility: Format currency config so it can be consumed more easily (#48727) 2024-07-12 14:24:22 +01:00
shared Convert inner-block-layout-context to typescript (https://github.com/woocommerce/woocommerce-blocks/pull/9799) 2023-06-14 06:36:39 -07:00
templates/revert-button Update revert button text and description (#48717) 2024-07-03 19:31:50 +05:30
types Filter by Attribute: fix potential reading property of undefined error (#47699) 2024-05-22 11:57:53 +02:00
utils Use the term attribute sort order for the "Filter by attribute" block (#47616) 2024-05-21 15:44:08 +02:00
global.d.ts WIP - Checkout i2 Feature Branch Tracking (https://github.com/woocommerce/woocommerce-blocks/pull/4268) 2021-07-22 12:03:00 +01:00
index.js Move registration of block categories on the server side (#47836) 2024-06-03 20:34:41 +02:00