I just want you to know, you have one of THE BEST firebase tutorials with react on youtube. I always recommend people to your channel when they are getting started with Firebase. I love your teaching style! Everything is clear and well explained and you get straight to the point. Please please please continue to make more videos like this and just content in general. I really appreciate it !!!
Thank you. The same a lot of videos explain in really difficult ways, you resolve it in 22 mins. I am lucky I decided to look for more videos and found this one. Thanks!!
Great content, thanks! Guys if you only want the name of the current user in 'Currently logged in as:' you can write Currently logged in as: {currentUser ? currentUser?.email.split("@")[0] : "Guest"}
great tutorial. but why is it when I make sign up 1 account, log out, then try to make a new account, i keep getting the error warning? if i try to log in with the initial account, it works, but if i make a 2nd account it keeps getting errors until i close the window, terminal & visual studio code... then open vsc and run npm start again ... then im able to make a different account.. anyone know why?
thank you somuch for your enthusiasm Joe :)) i've been super duper busy these few weeks and i've been dying to make a new video. i still am. thx for ur patience and sory for the delay :(
I'm having an issue. when I click on signup the data I filled in appears in the url of my page. page gets refreshed with that url and no data saved In firebase. I don't know what's wrong with it
Good question. In Firebase Auth, thers 3 types of auth state persistence: 'local', 'session' and 'none'. You can find more details in the docs i've linked below, and also you can use setPersistence(auth, browserSessionPersistence) Auth State Persistence Docs: firebase.google.com/docs/auth/web/auth-state-persistence#modifying_the_auth_state_persistence
Great video! Keep up the good content 🔥 Would be nice if you can make a video how to create profildata in firestore and connect them to the userid frim firebase authentication. Im stuck at this at the moment because im an absolute beginner and the logic is kinda tricky for me .😬
@Rene you are on point! I'm definitely making videos on how to use Cloud Firestore with Firebase Auth in conjunction. thx for this brilliant suggestion too!
@@ravenjs ohh thanks for the fast reply ! i mean with cloud firestore i worked with react-redux-firebase but now they didnt update the package with the v9 new syntaxe and methods , i dont know if there is an other tool , you will be the first one talk about redux and firebase v9 🔥
@@oussamaabdallah5856 ahh. so you wanna store the data fetched from firestore inside of redux? if this is the case, it's pretty easy to implement this, i'll definitely make a video about it. i just wanna make sure i understood ur question completely b4 making the video :)
when I try to signup I get this message: Possible Unhandled Promise Rejection: FirebaseError: Firebase: Error (auth/admin-restricted-operation). FirebaseError: Firebase: Error (auth/admin-restricted-operation).
you might wanna change to using controlled fields in React for more advanced features like this. i chose useRef here simply because it was the cheapest and dirtiest way to get going with input fields in react xD
@Super Crunch, to store user-related data, you'll need to use firebase auth in conjunction with firebase/firestore. I have a whole playlist about Firestore if you need it, but the simple answer is: create a user document in Firebase/Firestore, give it a field called userID, and store the Firebae Auth userID in the Firestore document. Then, you can also store other user-related info like the firstname and lastname fields in the cloud firestoredatabase
hey @Ali! Yes, I believe you can get push notifications with Firebase and ReactJS: firebase.google.com/docs/cloud-messaging/js/client I will need to make a specific video to cover this topic, thanks a million for this amazing suggestion :))
Hi! I learned a lot from your tutorials and I implement it it my app. I am using React, Firebase and Redux for my state management. So far I was able to implement the authentication but I have problem on how to sync my navigation when after login/sign up in react firebase. I am using react-router in my navigation but the login, signup still shows up a split seconds before it get removed. My state looks like this -> user: null, isLoading: false. But the action to switch isLoading to true is always the first to finish and action to save the user is always the last. Can you give me some tip to fix this issue? Should I just set a delay to sync the 2 states?
not yet...for now. our community is not nearly as big yet, but if you need any help you can just put them in the yt comments at the moment :) thx for your enthusiasm though
yes @Daniel Odiase thank you so much for this suggestion. I plan on making a video to show how to create user roles and private routes using react-router-dom
@@ravenjs I don't mean to disturb you but i am currently facing the issue right now for the assessment of the job i applied for Not so much luck so far
@@ravenjs The value of the input changes by one letter and it just throws an error and sends me a notification mail for the letter that changed, I'm going crazy right now
At 15 : 00 : when i did the question mark at currentuser : Currently logged in as : { currentUser?.email} . the code after this one all became red , still suprsingly works . is there something wrong ?