By using names on methods from this [page](https://groceristar.github.io/documentation/docs/groceristar-website-methods-list/department-router/department-router.html) In order to make it better, we'll create set of constants, each for a different method. Example: *Get data, related to single department* will became `export const GET_DEPARTMENT_DATA = "GET_DEPARTMENT_DATA";`
By using names on methods from this page
In order to make it better, we'll create set of constants, each for a different method.
Example:
Get data, related to single department
will became
export const GET_DEPARTMENT_DATA = "GET_DEPARTMENT_DATA";