redux 툴킷을 상요하지않다가 이번에 사용을 하면서
기존
const store = createStore(rootReducer, applyMiddleware(myLogger, logger));
나
const store = createStore(reducer, composeWithDevTools(
applyMiddleware(...middleware),
// other store enhancers if any
));
로 사용하던 로거를
형태로 바꾸어줬다
'ReactNative' 카테고리의 다른 글
[ React Native ] pod-install xcrun: error: SDK "iphoneos" cannot be located. 에러 (0) | 2023.08.10 |
---|---|
[ React Native ] react native release mode 실행 (0) | 2023.08.09 |
[ React Native ] Warning : Watchman `watch-project` returned a warning :... (0) | 2023.08.02 |
[ React Native ] ErrorBoundary 예제 (0) | 2023.08.02 |
[ React Native ] Swipe 할때, Pressable / TouchableOpacity 안되는 컴포넌트 (0) | 2023.07.25 |