src/modules 디렉터리를 만들고, 그 안에 auth.js라는 모듈을 생성하세요. 세부 기능은 추후 구현하겠습니다. 일단 리듀서의 틀만 만들어서 내보내 주세요.

    src/modules/auth.js

    import { createAction, handleActions } from 'redux-actions';
    
    const SAMPLE_ACTION = 'auth/SAMPLE_ACTION';
    
    export const sampleAction = createAction(SAMPLE_ACTION);
    
    const initialState = {};
    
    const auth = handleActions(
      {
        [SAMPLE_ACTION]: (state, action) => state,
      },
      initialState,
    );
    
    export default auth;

    신간 소식 구독하기
    뉴스레터에 가입하시고 이메일로 신간 소식을 받아 보세요.