Skip to content

Clarify the usage of the symbol "@" in the keys on the guide async-storage/website/docs/Usage.md #954

@KirillBorunov

Description

@KirillBorunov

What happened?

In the examples you are using the symbol "@" in the key argument, but there is no explain why, and if this is required.

await AsyncStorage.setItem('@storage_Key', value)

await AsyncStorage.setItem('@storage_Key', jsonValue)

const value = await AsyncStorage.getItem('@storage_Key')

const jsonValue = await AsyncStorage.getItem('@storage_Key')

Version

https://react-native-async-storage.github.io/async-storage/docs/usage

What platforms are you seeing this issue on?

  • Android
  • iOS
  • macOS
  • Windows
  • web

System Information

Issue is about the docs.

Steps to Reproduce

Not needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions