Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/react-native/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
React native 允许使用Require循环,但可能会导致未初始化的值。考虑重构,以消除对本地反应周期的需要。_React Native - Fatal编程技术网

React native 允许使用Require循环,但可能会导致未初始化的值。考虑重构,以消除对本地反应周期的需要。

React native 允许使用Require循环,但可能会导致未初始化的值。考虑重构,以消除对本地反应周期的需要。,react-native,React Native,我想不出这个警告。我检查了进出口,但还是不明白警告的意思 需要循环:src\components\index.ts->src\components\LoadNavigation.tsx->src\components\index.ts //index.ts export { default as LoadAssets } from "./LoadAssets"; export { default as Loading } from "./Loading";

我想不出这个警告。我检查了进出口,但还是不明白警告的意思

需要循环:src\components\index.ts->src\components\LoadNavigation.tsx->src\components\index.ts

//index.ts
export { default as LoadAssets } from "./LoadAssets";
export { default as Loading } from "./Loading";
export { default as LoadNavigation } from './LoadNavigation';
export { default as SafeAreaView } from "./SafeAreaView";
export { SocialIcon, SocialIconButton, SocialIcons } from "./SocialAuth";


//LoadNavigation.tsx
import { AuthenticationNavigator } from "../navigation/auth-navigation";
import { useTypedSelector } from "../redux";
import { Onboarding } from "../screens";
import { AppRoutes } from "../types/navigation-type";
import Loading from "./Loading";
import { useIsFirstLaunch } from "./../hooks/useIsFirstLaunch";
如何修复此警告。谢谢你的帮助