Creating Rent-a-Car App with Vue and October Episode 16

Persisting dates

In this episode we are going to persist our dates using localStorage and Vue.

So in the previous episode we had a problem in that our dates would not persist if the user would refresh the page. Which is understandable because our store is cleared every time you do a refresh. So in this episode we are going to try to fix that error by using localStorage, think of it as cookies for JavaScript.

Wanna ask a question about video?

Like This Video?

Support it by sharing it ;)

© Watch And Learn,2024