react-native - React Native - 如何查看 AsyncStorage 中存储的内容?

标签 react-native asyncstorage

我将一些项目保存到 AsyncStorage在 React Native 中,我正在使用 chrome 调试器和 iOS 模拟器。

不使用 React Native,使用常规 Web 开发 localStorage ,我能够看到存储的 localStorage Chrome Debugger > Resources > Local Storage下的项目

知道如何查看 React Native AsyncStorage储存物品?

最佳答案

你可以使用 reactotron 我认为它有异步存储资源管理器 ;)
https://github.com/infinitered/reactotron

enter image description here

关于react-native - React Native - 如何查看 AsyncStorage 中存储的内容?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38570188/

相关文章:

ios - 与 Apple Watch 共享来自 iOS 的 AsyncStorage React native 应用程序

javascript - AsyncStorage 返回意外错误

javascript - 我在 native react 中遇到 this.props.navigation.navigate 问题

javascript - 返回 map 内的嵌套 View

reactjs - 通过 CodePush 或 AppHub 部署应用程序

javascript - react native : Serving URI from localhost not rendering the image

javascript - 将应用程序更新到新代码库后,AsyncStorage 是否仍然存在?

ios - 如何在 React Native 中使用 AsyncStorage 正确获取 Item?

reactjs - RNIap.getProducts(itemSku) 返回空数组

react-native - 未定义不是对象(评估 'RCTAsyncStorage.multiMerge' (React-native-asyncstorage)