HeriYantodotDev / cool-store

0 stars 0 forks source link

Bug: Using useContact for Session is a terrible idea #21

Closed HeriYantodotDev closed 1 year ago

HeriYantodotDev commented 1 year ago

Again, I can see this is a very terrible idea. It should have a session instead of this way. I have no idea why the course is using that.

HeriYantodotDev commented 1 year ago

I can use onAuthStateChange Firebase keeps track on it. No need for session though.