P
P
pablo_2282020-06-22 12:39:42
React Native
pablo_228, 2020-06-22 12:39:42

What is the difference between localstorage and asyncstorage in react native?

I am new to react native, please tell me what is the difference between localstorage and asyncstorage.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Alexandrovich, 2020-06-22
@pablo_228

localstorage is used in browsers (react js for example) and it works synchronously.
asyncstorage is used in react native and works asynchronously.
The principle of operation is the same.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question