MCPcopy Create free account
hub / github.com/AppAndFlow/react-native-safe-area-context / loadCurrentExample

Function loadCurrentExample

example/src/App.tsx:28–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26
27 React.useEffect(() => {
28 async function loadCurrentExample() {
29 const example = await AsyncStorage.getItem(STORAGE_KEY);
30 setCurrentExample((example as Example | null) ?? null);
31 }
32 loadCurrentExample();
33 }, []);
34

Callers 1

AppFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected