JavaScript
- 2 ответа
 - 0 вопросов
 
    1
    Вклад в тег
    
      
      
    
  
  
export const SOME_ACTION = 'SOME_ACTION';
export function someAction() {
  return (dispatch, getState) => {
    const {items} = getState().otherReducer;
    dispatch(anotherAction(items));
  }
}