Closed atherdon closed 5 years ago
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";
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";