Yashotantra Academy
AI · Blockchain · Cloud · Data
Dark mode active
Learn
Tracks
ABCD
Certification
More
▾
Dark mode active
Learn
Tracks
ABCD
Certification
Study
Theory
Code Lab
Build
Solidity IDE
Staking Sandbox
Simulation
Reference
Wallets
Gas Fees
Explorers
← Code Lab
React Native
0/50 solved · 0%
All lessons
lesson
code
Storage · easy
10. Namespacing storage keys
Avoid key collisions in AsyncStorage.
Write `storageKey(namespace, key)` returning `` `${namespace}:${key}` ``.
Required in your answer:
`
Reveal solution
Run & check
Reset
Transpiled, then run in a sandbox
function storageKey(namespace, key) { // TODO }
Output appears here.
← 9. Applying safe-area insets
11. Loading/data/error state →