【问题标题】:How to persist store in ignite bowser如何在 ignite bowser 中持久存储
【发布时间】:2021-05-23 22:13:14
【问题描述】:

我正在为我的 react native 应用程序使用 ignite bowser 样板。它使用 mobx-state-tree 进行状态管理。每次我重新启动我的应用程序时,它都会重置商店。有什么办法可以持久存储在 ignite bowser 中?

【问题讨论】:

标签: react-native mobx-react mobx-state-tree mobx-persist


【解决方案1】:

已修复,需要从 utils 文件中的 '@react-native-async-storage/async-storage' 导入 AsyncStorage。

【讨论】:

    猜你喜欢
    • 2018-07-04
    • 1970-01-01
    • 2023-03-19
    • 2019-02-02
    • 2019-03-20
    • 2012-11-15
    • 2018-05-19
    • 2014-05-04
    • 1970-01-01
    相关资源
    最近更新 更多