9a6e0833cd
* WIP * Deprecate isPaymentPristine and undeprecate isPaymentStarted * Set payment status to FAILED or SUCCESS when the storeAPI fetch returns * Remove FINISHED as a status * Remove ready status * Revert "Remove FINISHED as a status" This reverts commit 38d66ed1d9565756d2373533c7a7c5b107a68ddd. * Add payment status READY * Removed payment statuses pristine, failed and success * Remove deprecated selectors and update docs * Rename the checkout events * Merge conflicts * Update test observer * Update deprecation notice * deprecation versions --------- Co-authored-by: Mike Jolley <mike.jolley@me.com> |
||
---|---|---|
.. | ||
components | ||
context | ||
hocs | ||
hooks | ||
utils | ||
README.MD |
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.