-
Maximum update depth exceeded.ERROR 2025. 10. 31. 22:56
Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops
onPress에 함수를 직접 적어서 발생 아래 코드로 수정하여 해결
// 에러 발생 코드 <View onPress={function(data)} /> // 수정된 코드 <View onPress={() => function(data)} />'ERROR' 카테고리의 다른 글
Xcode 빌드 오류 Missing package product (0) 2026.07.15 Execution failed for task ':app:installDebug'. INSTALL_FAILED_INSUFFICIENT_STORAGE (0) 2025.10.31 Changing numColumns on the fly is not supported. (0) 2025.08.04 [eslint] Unexpected use of continue statement no-continue (0) 2025.06.19 [iOS] safari 검사할 수 있는 응용 프로그램 없음 (0) 2025.06.17