react native使用(use)react-navigation報錯
Seems like you’re using an old API with gesture components, check out new Gestures system
解決辦法有2種
方法一(one)
import { LogBox } from 'react-native';
LogBox.ignoreLogs([
"[react-native-gesture-handler] Seems like you\'re using an old API with gesture components, check out new Gestures system!",
]);
方法二
@react-navigation/stack改爲(for) @react-navigation/native-stack
- 版權所有:奇站網絡 轉載請注明出(out)處
- 廈門極極網絡科技有限公司,專業提供網站建設,響應式網站建設,小程序開發,系統定制開發。
- 軟件開發咨詢熱線:吳小姐 13313868605