Reads an item and re-renders when it changes, from this component, another component or,
for drivers that report it, outside the app's JavaScript.
With a synchronous driver (MMKV, localStorage, memory) the stored value is there on the
first render. With an asynchronous one (AsyncStorage, SecureStore) the first render has the
default value and status: 'loading'.
Reads an item and re-renders when it changes, from this component, another component or, for drivers that report it, outside the app's JavaScript.
With a synchronous driver (MMKV,
localStorage, memory) the stored value is there on the first render. With an asynchronous one (AsyncStorage, SecureStore) the first render has the default value andstatus: 'loading'.