DEV Community 👩‍💻👨‍💻

Digamber Rawat
Digamber Rawat

Posted on • Originally published at positronx.io on

Angular 9|8|7 Firebase Tutorial – Save User Data in Local Storage

The post How to Save User Data in Local Storage using Angular 7 Firebase? appeared first on positronX.io.

Today we are going to create a simple app in which we are going to save user data in local storage using Angular 7 and Firebase real-time database. I will be showing you how you can maintain the user state even after you refresh the page in the Angular and Firebase.

I am going to use a simple logic when a user logs in the app we will save the user data in local storage. When a user logs out from the Angular application we remove the user data from local storage and set it to null.

Click here to read more

Top comments (0)

Timeless DEV post...

Git Concepts I Wish I Knew Years Ago

The most used technology by developers is not Javascript.

It's not Python or HTML.

It hardly even gets mentioned in interviews or listed as a pre-requisite for jobs.

I'm talking about Git and version control of course.