Your teaching talent is unprecedented. Thank you so much.
@NetNinja3 жыл бұрын
Thank you :)
@ashkanahmadi2 жыл бұрын
Great job. I have never used Firebase before but your tutorial is definitely helpful. I love the fact that you aren't rushing through everything and taking your time. Thank you
@duncanhendry64193 жыл бұрын
Thank you very much for releasing this series, it has been a huge help and there doesn't seem to be much info about it at the moment 🙌
@maskman48213 жыл бұрын
Yeah, we can learn the best Firebase courses from Shaun, now the version 9 works much faster than version 8, modular sdk makes bu dle size so small, runs extremely fast, really performance and awesome 🤩
@andrewclarke69163 жыл бұрын
Thanks for making this short course on the new changes to Firebase 9. I've just started working on a new project that utilises Firebase and this collection of videos is so much easier to follow than wading through the online documentation.
@jakemartin69662 жыл бұрын
I NEVER leave comments on YT but this tutorial is seriously awesome! So much better than going through the Firebase documentation.
@muhammad_abir3 жыл бұрын
I can't find enough word to say thank you..... I've watched many tutorials about firebase but really I was not able to understand anything! but now I'm able to make firebase crud by myself also I've learned about webpack...... thanks a lot brother shaun.....
@NetNinja3 жыл бұрын
Really glad you like them! 😃
@nguyenthiphuong16232 жыл бұрын
This is the best course to start to learn firebase, I have try a lots series about this but it doesn't clear like your series. Thank you very much.
@NetNinja2 жыл бұрын
Glad it was helpful!
@birarr3 жыл бұрын
Great tutorial's playlist! I'm really getting the point. Thanks!
@KiggunduJude1207 ай бұрын
This has literally saved my life
@iamd.72 жыл бұрын
Excellent Playlist. Approved
@RealSkaarj Жыл бұрын
Thank you man, that saved me from a lot of frustration with Firebase...
@NetNinja Жыл бұрын
Glad I could help!
@rishadali28663 жыл бұрын
Thanks Shaun love your content
@bgrand-ch3 жыл бұрын
Thanks for all your amazing explanations 🙌☺️
@jacob_dmn2 жыл бұрын
I'm already celebrating the 1M subs, LOVE U
@NetNinja2 жыл бұрын
Aha, thanks Jacob! :)
@sahidulislamjony57693 жыл бұрын
I am enjoying this series
@tusharutane8031 Жыл бұрын
Thank you so much I was stuck in my project ☺️ yay I'm so f**** happy
@NetNinja Жыл бұрын
Glad to hear that Tushar 😊
@Forte962 жыл бұрын
Hey there, thanks alot for amazing videos first of all! helped me so much so far. I have question about onSnapshot, do you know why my snapshot triggers twice? even I deleted all my code and did exactly how u did in video but it triggers twice(I get 2 console logs). Thanks in advance!
@tech34252 жыл бұрын
Great course! Looking forward to more indepth Firebase 9 courses
@Omerko3 жыл бұрын
I thought that you would change DB from Firestore to Real-Time, but using a snapshot is really handy for this.. Nice video.. :D
@maskman48213 жыл бұрын
Socketio is cool too 😎
@tariqsyed60117 ай бұрын
Is it free in Firebase to get real time data
@sinki33226 ай бұрын
You are absolutely amazing. Thank you for helping us !!
@NetNinja6 ай бұрын
Happy to help! :) thanks for such a lovely comment
@jinxin677623 күн бұрын
bro you are the best, i love you
@programmerrdai3 жыл бұрын
Great Content Keep up the great work :)
@tudatostrader Жыл бұрын
Can this be done on Realtime Database as well as Firestore? Thanks Shawn!
@slimyelow2 жыл бұрын
Net Ninja kicka assu!
@edisonmondal27982 жыл бұрын
Sir! You have saved my life ❤❤🔥🔥🖤🖤
@wealthiduwe28173 жыл бұрын
Thanks so much for this!!! Pls can you help with a tutorial that shows how subcollections can be used and read using firebase9?
@sagshah103 жыл бұрын
Just wondering, if you had a large collection of data, maybe millions of records, can you control how much of the snapshot you receive? Or would it return the whole collection always. How would you optimize for those scenarios?
@jackknott19933 жыл бұрын
You can pass through a query instead of a collection ref (built using the collection ref and where/orderBy clauses etc) and I'm guessing it only triggers when something is updated that matches the query
@maskman48213 жыл бұрын
@@jackknott1993 smart move 👌
@IliyaDamyanov9 ай бұрын
Very good video.
@leonvanrijswijk84093 жыл бұрын
Thanks. Does this 'auto-fetch' also happen if someone on another computer changes the collection?
@NetNinja3 жыл бұрын
Yeah, it doesn’t matter who makes the change.
@mykoexe41353 жыл бұрын
AMAZING CONTENT
@muhammadarsallanshahab6760 Жыл бұрын
In react app where should we put our initializeapp function? Is that should in every page where we need to use firebase or just util file
@generalknowledge66603 жыл бұрын
Thanks 🙏
@nawoditnayan43642 жыл бұрын
my console page is not updating every time i have refresh the page to see new data
@thaophung95032 жыл бұрын
mine is doing the same
@joneymiah90143 жыл бұрын
will you cover firebase authentication?
@anonymouspersonal91362 жыл бұрын
I'm using react for this tutorial. First I created a new react app then I removed the things which is not necessary. Created all things like you did. The react way. UI is fine. Reset is fine. However when I go to inspect and check the console. It doesn't show me anything. Like the Array it is showing you.
@mohamedyoussef88352 жыл бұрын
Awesome Tutorial ++++++++++++++++++++ Thank You
@Shubham_Patil__2 жыл бұрын
Can I use this to render my data in real time? Like if I add or delete something then will it reflect on my page without reloading the page??
@jsricochet2 жыл бұрын
Yes you can :) Following this great tuto, I've done it with React like so: const [technos, setTechnos] = useState([]); const firestore = getFirestore(); const colRef = collection(firestore, 'technos'); useEffect(() => { onSnapshot(colRef, (snapshot) => { console.log('snapshot', snapshot); getTechnos(snapshot); }); }, []); function getTechnos(snapshot) { let result = []; snapshot.docs.forEach((doc) => { result = [...result, { ...doc.data(), id: doc.id }]; }); setTechnos(result); } Then you just have to iterate over the technos array on the view ;)
@robbyl68633 жыл бұрын
In React Native / expo. When I set up onSnapshot it just keeps firing over and over, even when nothing is changing. Any ideas?
@maskman48213 жыл бұрын
Hello, Shaun, is it possible for you to create a series of supabase tutorials? a lot of corps, projects have shifted to supabase and we really need a good tutorial on this cool serverless, I know you are a big fan of firebase, but we have to move on, embracing new technology, anyhow thank you in advance 🙏🙏🙏
@NetNinja3 жыл бұрын
I will also be doing a supabase tutorial in the future :)
@maskman48213 жыл бұрын
@@NetNinja that would be awesome 🤩
@yousefbaghlaf6713 Жыл бұрын
Isnt it more expensive to attach a listener than a normal get call?
@heyIappreciateit3 жыл бұрын
When is the firebase admin sdk?
@maskman48213 жыл бұрын
Yeah, that is one of my question, nodejs+express/fastify+firebase admin, we have a lot of opportunities to work with firebase in our own backend, you know 😃
@amaechinaikechukwu82662 жыл бұрын
In my project,when data is added and onSnapshot is called, the whole existing data is added to the new data, causing duplicates. Hopefully,you've helped me.
@udaykiran49122 жыл бұрын
onSnapshot is not working when i add data, changes are not reflected on console
@krzysztofchylinski62522 жыл бұрын
same issue, seen others having same on stack overflow, unfortunately i can't find an aswer
@covaciuandrei2 жыл бұрын
@@krzysztofchylinski6252 It seems that you need to run the npm run build before because you need to have the watcher on for the changes
@ginichimarugraal8282 Жыл бұрын
@@covaciuandrei thanks buddy u saved me
@covaciuandrei Жыл бұрын
@@ginichimarugraal8282 i never leave comments, but i think i was searching for a solution for half an hour😂😂 You’re welcome bro
@xdgogo5231 Жыл бұрын
@@covaciuandreithank you soo much, I really tought I was missing something, I can't thank you enough
@Ebuilt Жыл бұрын
Hi, I have followed your tutorial & I am getting data in my window sucessfully. But I am unable to pass this data to other file. When I use hook I got Error. Can you please Let me know the issue
@Ebuilt Жыл бұрын
import firestore from '@react-native-firebase/firestore'; import React, { useEffect, useState } from 'react'; export const UseFetchUserData = () => { const [userData, setUserData] = useState([]); console.log('fire store entry') useEffect(() => { const unsubscribe = firestore() .collection('Users') .onSnapshot(snapshot => { const changes = snapshot.docChanges(); const updatedData = changes.map(change => change.doc.data()); setUserData(updatedData); console.log('Dynamic',updatedData) }, error => { console.log('Error fetching data:', error); }); return () => { // Clean up the subscription when the component unmounts //unsubscribe(); }; }, []); return null; }; This is the file which request data
@mohammedbadah55373 жыл бұрын
Awesome explanation ...
@xdgogo5231 Жыл бұрын
I did exactly the same thing as in the video and mine is not working. Could you try and help me?
@manoj-k3 жыл бұрын
🔥🔥🔥
@danielwatson65292 жыл бұрын
I always say "Alright Then Gang" when you do at the start of each vid, I know the starts all off by heart now 😅
@ChandanKumar-of1je3 жыл бұрын
@vhack__4126 Жыл бұрын
Bro the same code is not working for me. Its giving this error Expected type 'Query', but it was: a custom CollectionReference object FirebaseError: Expected type 'Query', but it was: a custom CollectionReference object Code: useEffect(() => { const getChats = () => { const unsub = onSnapshot(collection(db, "user"), (snapshot) => { snapshot.docs.forEach((doc) => { console.log("snapshot: ", doc.data()); }); }); }; userState.user.uid && getChats(); }, [userState.user.uid]);