useeffect関係の機能最適化

This commit is contained in:
harukin-expo-dev-env
2025-08-03 08:22:51 +00:00
parent c0804d2ac7
commit a2a6c7fdb9
5 changed files with 25 additions and 15 deletions

4
App.js
View File

@@ -32,7 +32,9 @@ if (Platform.OS === "android") {
}
export default function App() {
useEffect(() => UpdateAsync(), []);
useEffect(() => {
UpdateAsync();
}, []);
const ProviderTree = buildProvidersTree([
AllTrainDiagramProvider,