인프런 커뮤니티 질문&답변
withRedux 안에서 options은 뭘 말하나요?
해결된 질문
작성
·
253
0
좋은 주말입니다 : )
마지막에 withRedux((initialState, options)=> ~~)
이런식으로 선언이 되어 있는데요,
options에는 어떤 것들이 들어가나요?
혹시 mapStateToProps 에서 처럼 action creator 같은 것들을 불러서 컴퍼넌트 안에서 부르기 위한 옵션인가요?
export default withRedux((initialState, options)=>{
const store = createStore(reducer, initialState);
return store
})(Front)





