728x90

problem
next 취약점 이슈로 인해 react 버전을 업데이트 해주어야 했다.
사내 프로젝트가 모노레포로 되어 있어서 react 를 19.0.1 버전으로 업데이트를 해야 하는 상황이었다.
업데이트 진행 도중 react 와 react-native-renderer 버전이 맞지 않다고 오류가 떴다.
solution
//app.json
"expo":{
"experiments": {
"reactCanary": true
}
}
expo 블록에 위 코드를 추가해주었다.
이 옵션은 Expo 에서 React의 Canary 실험용 최신버전 기능을 강제로 사용할 수 있도록 열어두는 플래그이다.
https://expo.dev/changelog/mitigating-critical-security-vulnerability-in-react-server-components
Mitigating the Critical Security Vulnerability in React Server Components - Expo Changelog
Check out new updates and improvements to Expo and EAS from the Expo team.
expo.dev
728x90
'개-발 > App' 카테고리의 다른 글
| [App]Expo update (code push) (0) | 2025.09.12 |
|---|---|
| [App] React Native FCM 푸시 알림 세팅 (android) (0) | 2025.08.20 |
| [App] React Native FCM 푸시 알림 세팅 (ios) (0) | 2025.08.20 |
| [App] ios APN (.p8) 인증키 발급받기 (0) | 2025.08.20 |
| [App] 앱 배포시 유용한 사이트 모음 (2) | 2025.08.14 |