React Native Tutorial - Save Data In Your Application With AsyncStorage

preview_player
Показать описание
If you would like to support this channel i accept Bitcoin donations to this Bitcoin wallet address:
1Fm3ZywfnioXjHpUbVppLvpzehvRq2vfQs

Featured Full Courses:
React JS - The Complete Guide (over 150 000 devs enrolled)

React JS Web Development - The Essentials Bootcamp

The Complete React Js & Redux Course - Build Modern Web Apps

The Complete React Native + Hooks Course

React Native - The Practical Guide

The Complete JavaScript Course 2019

More Content:

In this tutorial we are going to learn how to use AsyncStorage to save local data in React Native.
Рекомендации по теме
Комментарии
Автор

how to set state using asyncstorage data in react native before render

vikrantvishwakarma
Автор

Can I use an array instead of object ? Then, what must i do to get the data ?

minhucpham
Автор

The key piece of information for me was at 2:06. With AsyncStorage you can only save a string. You cannot save a JS object. You must use JSON to serialize into a string.

tannerwinkelman
Автор

great video ! do you know how to save multiple obj?

cesarrrify
Автор

Hi All

Anyone know how to manage login/dashboard/logout (protected screens), I'm trying to manage these screens but after login when I reload dashboard from emulator it's take me back to login screen. Also when I close app & reopen app again that time also open login screen but actually it should be dashboard. I tried many article from internet but none work correctly.

GouravKumar-zwdj
Автор

Nice Tutorial have one doubt how can we call both functions saveData() and displayData with one single onPress.

nitishawasthi
Автор

It`s useful, thank you for the video!

鄭索尼
Автор

How can i apply this to the to do app so that after the user closes the application, the contents don't go away?

taranazad
Автор

Hi, i want to ask about asyncstorage.i built a android app with asyncstorage .My app works on emulator and real device but i want to publish on google play.Do i must get any permissions for example WRITE_EXTERNAL_STORAGE and READ_EXTERNAL_STORAGE ?Do you have any idea?

vedatakcan
Автор

thankyou for such a wonderful learning video, you alwaz help us, thank you so much..

SudhirKumar-ovee
Автор

what about saving an array? and the muliset and multiget?

abhishtagatya
Автор

Has anyone having problem with AsyncStorage.getItem returning null? I'm storing a string as said in the documantation and I still can't fetch it

UrielHK
Автор

Hi, I happy to see your tutorial ... actually I am creating a application .. Right now I complete my UI and connected my app with amazon dynamodb ... can you guidee how to insert, update, delete data from database using application . For example if user change his name from application, the. How we can update it from database .

anonymous_azlan
Автор

Liked it, but also add your thoughts where it should be used and where not. This is because your tutorial is same as in docs.❤️

alokprakash
Автор

Hi man. Nice tutorial. Could you make a video how to create folders inside an react native app? I have an app idea and in this app I need to have folders where I store some documents and pictures. But I can't find any video or article that shows how to make a folder structure and let users create new folders in the app. Do you know a ressource ? :)

dhuber
Автор

Does Async storage is like shared preference in android? If no then how can I achieve shared preference functionality in react native?

AmitPandey-kolj
Автор

but how can i return the saved data if i wanna use it ?
bc return doesnt work, it always returns object object for me

carlomatik
Автор

Thank you for this tutorial. What other way than "alert()" can I display the data ? <Text></Text> didn't work. Thanks.

dunnia.
Автор

How to pass data to your routine. Like have an input with a save button.

marco
Автор

can make a tutorial to download a pdf file on clicking the button using react native please

ramesh