Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AppAndFlow/react-native-safe-area-context
/ saveCurrentExample
Function
saveCurrentExample
example/src/App.tsx:36–40 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
34
35
React.useEffect(() => {
36
async function saveCurrentExample() {
37
if (currentExample != null) {
38
await AsyncStorage.setItem(STORAGE_KEY, currentExample);
39
}
40
}
41
saveCurrentExample();
42
}, [currentExample]);
43
Callers
1
App
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected