mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 10:55:00 +08:00
💡 Document all Redux store files
This commit is contained in:
parent
fee9a016c6
commit
ef873dcda2
7 changed files with 69 additions and 0 deletions
|
@ -1,3 +1,13 @@
|
|||
/**
|
||||
* Hooks: Provide the main API for components to interact with the store.
|
||||
*
|
||||
* These encapsulate store interactions, offering a consistent interface.
|
||||
* Hooks simplify data access and manipulation for components.
|
||||
* Exported hooks must have unique names across all store modules.
|
||||
*
|
||||
* @file
|
||||
*/
|
||||
|
||||
import { useSelect, useDispatch } from '@wordpress/data';
|
||||
|
||||
import { PRODUCT_TYPES, STORE_NAME } from '../constants';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue