import { SET_LOADING } from 'common.actions'; // Dispatch the SET_LOADING action store.dispatch({ type: SET_LOADING, isLoading: true });
import { SET_ERROR } from 'common.actions'; // Dispatch the SET_ERROR action store.dispatch({ type: SET_ERROR, errorMessage: 'There was an error loading data' });
import { SET_PAGE_TITLE } from 'common.actions'; // Dispatch the SET_PAGE_TITLE action store.dispatch({ type: SET_PAGE_TITLE, pageTitle: 'Home' });Overall, the `common.actions` package is a useful package that contains a set of common actions that can be used across multiple applications.