Victor
Victor
I'll close this issue, feel free to reopen it, if you still encounter this problem!
Yes, mutating store value definitely will become a problem. In the documentation this is pointed out several times: https://effector.dev/en/api/effector/store/ > Store is an object that holds the state value. Store...
I started to implement this utility, but encountered with design questions: combination of two adapters and 4 possible outcomes from each of them (got synchronous result, got synchronous error, got...
During discussion with effector core team, there were suggestion, that `broadcast` adapter in that case is just like "synchronization channel" or "invalidation channel", this is its only purpose. Maybe it...
`@@trigger` protocol requires calling `setup` event, but for `persist` `pickup` is actually an analogue of `setup`. So, there is a loop, to add trigger to pickup we need to call...
Oh, I didn't see you issue somehow, sorry for late response ._. If you use latest `effector` and latest `effector-storage` with scopes, you must use `pickup` event, so `effector-storage` will...
By the way, you can use `persist` from `'@effector-storage/react-native-async-storage'`, it is [basically the same](https://github.com/yumauri/effector-storage-extras/blob/98606ba874aab840105451a04faf9f203d57a149/packages/react-native-async-storage/src/index.ts#L43-L48) as you wrote with `asyncStorage` adapter :) ```js import { persist } from '@effector-storage/react-native-async-storage' ```
I'm not sure, because I never tried React Native, but if it supports async first render — it should be fine, and you shouldn't handle extra events like "when store...
`pickup` disables initial implicit read of a storage, so it happens only on `pickup` event trigger. It is essential, if you use scopes, because it is also restores store value...
Is it working for you? Because I still don't understand, how do you mitigate an issue, when store is restored outside of the scope 🤔 But if you use effector...