[英]Make mobx data store persistent across app restarts (react native)
I guess this is not an intended usecase for mobx.我想这不是 mobx 的预期用例。 But maybe someone has already implemented something like that?
但也许有人已经实现了这样的东西? Using
AsyncStorage
it should be possible to persist and load the stores.使用
AsyncStorage
应该可以持久化和加载存储。
Or is this a sign, that I need somethign other than mobx?或者这是一个迹象,表明我需要 mobx 以外的其他东西?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.