Marc Rousavy
Marc Rousavy
Not in my free time, no
Hey! Glad to hear you've been using my library for over 2 years without any problems 😄 I don't know where that Expo issue is coming from, I'm just guessing...
Good point, but this will be an extra read. What if the user doesn't need the previou state? then it will be an unnecessary DB Read
Wait hold on - isn't that already possible? You can do ```ts const [username, setUsername] = useMMKVString("username") setUser((prevState) => { if (prevState === 'marc') return 'fahad86' else return 'marc' });...
Aha, it works for everything but not `useMMKVObject` yet. got it. https://github.com/mrousavy/react-native-mmkv/blob/f564552f262c0a446520fd03f83cd8656acd1917/src/hooks.ts#L178-L202
Hey - that PR is outdated, can someone create a new PR with those changes? Then I think we can merge it, **however:** this is unsafe as there might've been...
Hey, yea I wanna do that sometime soon but it's not high priority for me and I don't have the free time at the moment. Also, there are no benefits...
Hey! I think what you're seeing is because RN MMKV is not running in multi-process mode. You need to set your native MMKV instance to multi-process, and do the same...
Hey - yea for listeners we should maybe batch that as well then. 🤔