A synchronous driver on top of an MMKV instance.
import { createMMKV } from 'react-native-mmkv';const driver = mmkvDriver(createMMKV({ id: 'app' })); Copy
import { createMMKV } from 'react-native-mmkv';const driver = mmkvDriver(createMMKV({ id: 'app' }));
Changes made through the same MMKV instance elsewhere in the app (for example by code that calls mmkv.set directly) reach subscribed items through MMKV's change listener.
mmkv.set
A synchronous driver on top of an MMKV instance.
Changes made through the same MMKV instance elsewhere in the app (for example by code that calls
mmkv.setdirectly) reach subscribed items through MMKV's change listener.