Тёмный

JavaScript LocalStorage and Session Storage API Tutorial 

Dave Gray
Подписаться 343 тыс.
Просмотров 20 тыс.
50% 1

Опубликовано:

 

2 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 37   
@DaveGrayTeachesCode
@DaveGrayTeachesCode 3 года назад
Keep in mind localStorage and sessionStorage utilizing the Web Storage API is not the only way to utilize storage for your front-end web applications. However, it may be the easiest for beginners to get started with. I plan to create more tutorials for front-end storage solutions in the future. If you already use a solution, let me know what it is in the comments. Likewise, if this tutorial was helpful, let me know that and share. Thanks!
@SureddiBhargav
@SureddiBhargav Год назад
Hi Dave, amazing work time and time again. Do you have a video on the other ways to store data in the front end, or will you be doing one in the near future?
@adnan8465
@adnan8465 2 года назад
i literally first downloaded the video and watched the whole video being offline.. and i searched your video again , just came here to give this video a like for such amazing explanation .. thank you so much sir .. i am learning these concepts just because of you. thank you🥰🥰
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 года назад
I'm glad it has helped!
@khemikalse
@khemikalse Год назад
You Channel is a premium course for free. Damn! I never really understood LocalStorage until today
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
Glad I could help!
@oncoding4520
@oncoding4520 Год назад
Came here from your React tutorial that you recommended :)
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
Welcome!
@quvomiddinkamalov3292
@quvomiddinkamalov3292 7 месяцев назад
Thank you very much, sir. I have a question: Do you think that chatGPT is taking our (web development) job?
@tanercoder1915
@tanercoder1915 2 года назад
you didn't say that your method logName hadn't been saved in storage even though it existed in the object... I just discovered it can't be done? how weird!
@__zenon
@__zenon Год назад
He did mention it and he also mentioned why, which was somehting that was covered in his JSON lesson.
@tanercoder1915
@tanercoder1915 Год назад
@@__zenon one year later )
@ajithkumarv603
@ajithkumarv603 2 года назад
I'm searching this video lot days finally got
@9nikolov
@9nikolov 6 месяцев назад
(12:15) Delving into localStorage for persistent data Just a small suggestion for enhancement: 1. Close the website window. 2. Stop the Live Server. 3. Comment out your entire JS file and save changes. 4. Restart the app using Live Server. 5. Navigate to the Browser's Application tab -> Local Storage, where you'll find your data persisting flawlessly. Aside from this minor improvement, Mr. Gray's content remains commendable, as always. Top-notch educational content. Always a pleasure to learn from him ❤
@Codak_3
@Codak_3 9 месяцев назад
Thanks for your explanation, the good thing about you is your voice and the way you talk goes slow for someone to get things or understand quickly
@alivarzxorany2892
@alivarzxorany2892 3 года назад
hi Mr Gray, thank for the video. if i have an array in storage, i need to parse it to use for instance second item? or i can select directly?
@DaveGrayTeachesCode
@DaveGrayTeachesCode 3 года назад
localStorage will store strings, so I also use JSON.stringify() when sending data to the store and JSON.parse() when getting data from the store. More on localStorage here: developer.mozilla.org/en-US/docs/Web/API/Window/localStorage
@avi12
@avi12 3 года назад
Please make a tutorial about IndexedDB
@DaveGrayTeachesCode
@DaveGrayTeachesCode 3 года назад
Thanks for asking and for watching! I've been planning to do that. IndexedDB is very useful.
@LeonardoSorrentino-n4p
@LeonardoSorrentino-n4p Год назад
de audio is unpercettible
@jackfrancis5238
@jackfrancis5238 Год назад
Odin anyone?!!
@MarkWilliamson-n4s
@MarkWilliamson-n4s Месяц назад
Thanks Dave
@CynthiaSotoCaballerolYEAHl
@CynthiaSotoCaballerolYEAHl 3 года назад
A helpful refresher
@DaveGrayTeachesCode
@DaveGrayTeachesCode 3 года назад
Thanks!
@dustinbest1326
@dustinbest1326 2 года назад
Great videos Dave!
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 года назад
Thank you, Dustin! 💯
@jamshidtashkent1976
@jamshidtashkent1976 Год назад
Thank you. I really enjoyed watching your video
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
You're welcome!
@kirillzlobin7135
@kirillzlobin7135 Год назад
Ammazing video
@bhavanalohri9326
@bhavanalohri9326 3 года назад
can we store file in this local storage web api ??
@DaveGrayTeachesCode
@DaveGrayTeachesCode 3 года назад
That is a great question. I could make a new tutorial based on this question 😀. That said, you can learn how to do it from this article, too: hacks.mozilla.org/2012/02/saving-images-and-files-in-localstorage/
@Grihlo
@Grihlo 2 года назад
Thank you for another helpful and clear tutorial!
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 года назад
Glad it was helpful! 🚀
@Netpilation
@Netpilation Год назад
dave how do you define an Api ?
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
www.google.com/search?q=define+an+api
@jj342
@jj342 2 года назад
Top stuff!!
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 года назад
Thank you!
Далее
ХОККЕЙНАЯ КЛЮШКА ИЗ БУДУЩЕГО?
00:29
#kikakim
00:10
Просмотров 13 млн
JavaScript Cookies vs Local Storage vs Session Storage
14:28
Local Storage & Session Storage [ with Code Examples ]
14:52
LocalStorage for beginners (HTML and Javascript)
12:27
Local Storage Explained In 10 min | Javascript
10:53
Просмотров 61 тыс.
Regex Javascript | Regular Expressions in JavaScript
22:13
The Ins and Outs of localStorage and sessionStorage
16:13
7 ways to deal with CSS
6:23
Просмотров 1,1 млн