woocommerce/plugins/woocommerce-blocks/assets/js/base
Thomas Roberts 7768ef5b5c
Prevent "Use same address for billing" being checked by default if addresses differ (#42967)
* Don't access the keys of what is now just an array

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-12-20 14:47:59 +07:00
..
components Add Checkbox support for Additional Fields in Checkout Block (#42780) 2023-12-18 13:21:36 +01:00
context Introduce Additional Fields extensibility API (#42695) 2023-12-15 13:45:38 +01:00
hocs Upgrade webpack to version 5 (https://github.com/woocommerce/woocommerce-blocks/pull/8013) 2023-09-20 17:31:52 -03:00
hooks Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00
utils Prevent "Use same address for billing" being checked by default if addresses differ (#42967) 2023-12-20 14:47:59 +07:00
README.MD Avoid usage of `@wordpress/components` inside base components (https://github.com/woocommerce/woocommerce-blocks/pull/7996) 2023-01-11 17:12:06 +00:00

README.MD

Base Components/Context/Hooks

Base components are designed to be used on the frontend of a store. Due to this, we need to avoid using heavy WordPress externals as dependencies (wp-components, wp-block-editor, etc). To get around this, import from a local package instead.

e.g. Instead of importing from @wordpress/components, use:

import { Component } from 'wordpress-components';

Check the built *.assets.php files to ensure extra dependencies aren't being added to the build.