💡 Document all Redux store files

This commit is contained in:
Philipp Stracker 2024-11-18 18:51:11 +01:00
parent fee9a016c6
commit ef873dcda2
No known key found for this signature in database
7 changed files with 69 additions and 0 deletions

View file

@ -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';