mirror of
https://github.com/strapi/strapi.git
synced 2025-08-15 12:18:38 +00:00
11 lines
432 B
JavaScript
11 lines
432 B
JavaScript
/*
|
|
* Constants
|
|
* Each action has a corresponding type, which the reducer knows and picks up on.
|
|
* To avoid weird typos between the reducer and the actions, we save them as
|
|
* constants here. We prefix them with 'yourplugin/YourComponent' so we avoid
|
|
* reducers accidentally picking up actions they shouldn't.
|
|
*
|
|
* Follow this format:
|
|
* export const YOUR_ACTION_CONSTANT = 'your-plugin/YourContainer/YOUR_ACTION_CONSTANT';
|
|
*/
|