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

Function loadCurrentExample

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

Source from the content-addressed store, hash-verified

32
33 React.useEffect(() => {
34 async function loadCurrentExample() {
35 const example = await AsyncStorage.getItem(STORAGE_KEY);
36 setCurrentExample((example as Example | null) ?? null);
37 }
38 loadCurrentExample();
39 }, []);
40

Callers 1

AppFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected