Seems like you're us放要ing an old API with ges報你ture components, check out ne他裡w Gestures system

  1. 新聞資(zī)訊(xùn)
  2. 技術百科(kē)
公司新聞 案例分享 技術百科(kē) 行業動态

Seems like you're using an old API with間呢 gesture components, check out就村 new Gestures system

來源:奇站網絡 浏覽量:2118 發布日期: 2022-03-25

react native使用react-navigation報錯(cuò)

Seems like you’re using an old AP章說I with gesture components, c坐腦heck out new Gestures system
解決辦法有2種

方法一(yī)

  1. import { LogBox } from 'react-native';
  2. LogBox.ignoreLogs([
  3. "[react-native-gesture-hand通光ler] Seems like you\'re using 師朋an old API with gestu市裡re components, check out new Gestures生行 system!",
  4. ]);

方法二

@react-navigation/stack改為(wèi) @react-navigation/native-stack

參考資(zī)料:
https://stackoverflow.com/questions鄉兒/70756058/react-native-react民了-native-gesture-handler-seems-like-志地using-an-old-api-aft也工er-ya

标簽:

廈門奇站網絡科(kē)技有限公司

電話:13313868605

QQ:3413772931

地址:廈門軟件園三期A02号

網站地圖


        化什          &nbs她東p; 掃一(yī)掃加我咨詢