Тёмный

100 Firebase Tips, Tricks, and Screw-ups 

Fireship
Подписаться 3,2 млн
Просмотров 186 тыс.
50% 1

Top 100 Firebase Pro Tips 🔥💯. Optimize your app for performance, costs, and developer happiness - and avoid common mistakes fireship.io/lessons/firebase-...
🍍 Firebase firebase.google.com/
🚀 Firebase PRO courses fireship.io/courses/
Leave a comment below with your best Firebase Tip for a chance to win a free T-shirt.
#top100 #firebase
Take the Firebase quiz 🤓
iOS itunes.apple.com/us/app/fires...
Android play.google.com/store/apps/de...
Upgrade to Fireship PRO at fireship.io/pro
Use code lORhwXd2 for 25% off your first payment.

Наука

Опубликовано:

 

15 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 256   
@rubenheymans1988
@rubenheymans1988 4 года назад
thanks Jeff, now I have to rewrite my entire app
@Fireship
@Fireship 4 года назад
Haha, sorry about that
@olearycrew
@olearycrew 4 года назад
Honestly...same
@sirshredderkyle
@sirshredderkyle 4 года назад
Yeah, thanks a LOT JEFF!
@sexyeur
@sexyeur 4 года назад
Lol
@Chiefsosa17
@Chiefsosa17 3 года назад
Thank God I'm about to start my app now
@Fireship
@Fireship 4 года назад
This is the longest RU-vid video I have ever made 😅. Putting together 100 tips was a challenge, but I'm sure there are plenty I missed...
@ian4175
@ian4175 4 года назад
Fireship like number 6? Awesome video thanks.
@shawnamanda4887
@shawnamanda4887 4 года назад
Thank you for everything you are doing for this community!! Great work
@anonwithamnesia
@anonwithamnesia 4 года назад
Ian Bringe lmao he really forgot 6
@Fireship
@Fireship 4 года назад
@@ian4175 haha, good call. There are two 7s. 6 should be upgrade to blaze, set a budget.
@oldbootz
@oldbootz 4 года назад
Thanks for the vid. I'm going to try firebase out for the first time now.
@dependersethi1345
@dependersethi1345 4 года назад
Another Tip: Reads are calculated even when you access the Firestore data from the dashboard. By default, the first 300 documents of the active collection are read as soon as you land on the page. So make sure you do not play around on that page in a live production project. (You can bookmark the quota tab/ page to bypass the dashboard screen)
@vedangdate
@vedangdate 4 года назад
I have been living a lie
@ShaneTheKing
@ShaneTheKing 3 года назад
You can actually avoid accidentally being charged for 300 reads by creating a document named _ or something similarly low number on an ASCII chart. Firebase will open the first one in ascending order and it will save you a lot of reads.
@will_lowry
@will_lowry 2 года назад
@@ShaneTheKing thanks man 🙏🏼
@osamaomari5556
@osamaomari5556 2 года назад
@@ShaneTheKing can u pls explain more ?
@carlosduran5460
@carlosduran5460 Год назад
​​@@osamaomari5556 An empty collection named "_" in order to be the first (default) collection that is shown when you open de dashboard. Since it's empty, it won't charge reads.
@eriktorres1745
@eriktorres1745 4 года назад
Man! talk about a cheat sheet. This is the most valuable piece of firebase content I have come across, hands down!
@YinonOved
@YinonOved 4 года назад
that video should be declared as an official firebase cookbook
@ChinPeng-p5p
@ChinPeng-p5p 14 дней назад
Owhhh
@FidelGuajardo
@FidelGuajardo 4 года назад
I thought title was a marketing hoax but there are truly 100 tips! Only Jeff could do a video like this with massive great content in under 25 minutes and so gracefully!!! Jeff ROCKS!!!
@filipkowalski2183
@filipkowalski2183 4 года назад
I don't remember when I was so stoked last time about learning materials. Great job with Fireship, love it! Can't wait to get through it.
@Rong.404
@Rong.404 3 года назад
There should be a checkbox when creating a new firebase project "Yes I watched Fireship's firebase video" 😂 Damn, it's so usefull.
@kingsley15
@kingsley15 4 года назад
That was awesome! I'm particularly interested in the Deployment and Security stuff. Noticed there are no specific playlists for those videos.
@jonathanst-jean7026
@jonathanst-jean7026 4 года назад
Holy cow. I learned more about firebase in this one video than I have in the last 3 months of reading docs and testing on my own. Absolutely awesome
@FilledStacks
@FilledStacks 4 года назад
Awesome Awesome Awesome! Waiting for a potential large clients response. They want to build an app with Flutter and Firebase as their backend, this will be invaluable. Thanks Jeff! Can't wait to go through the data modelling course to skill up on the NoSql modelling. I appreciate the content :)
@CyprianNziim
@CyprianNziim 4 года назад
So much content to take in at once. This is so awesome!
@frostytf2
@frostytf2 2 года назад
Single handedly the most practice and useful tutorial for majority of Firebase use cases.
@TheEkkas
@TheEkkas 3 года назад
Wow. 24.5 minutes of jam-packed, useful, concise info. Thanks.
@will_abule
@will_abule 4 года назад
46, 54, 58, 64, 66, 70, 78, 81, 82, 83, 84, 85, 86, 89, 91, 93 are very useful thanks! a useful tip you didn't mention always paginate to reduce costs even further especially for countries in Africa where dollar it's pretty high.
@Fireship
@Fireship 4 года назад
Good call! Pagination is a great way to reduce costs.
@javascript_developer
@javascript_developer 2 года назад
I just finish half of the video and couldn’t stop myself from commenting to appreciate your effort. Thanks a lot. I would need to change a lot of thing in my project.
@kopenPCnerd
@kopenPCnerd 4 года назад
Thanks for all the great videos! Your content has inspired me to really dive into cloud architecture and has allowed me to effortlessly deploy dozens of web apps. Excited to learn more about Firebase at NgConf next year.
@firaskudsy
@firaskudsy 4 года назад
The only membership that i never regrets is fireship .. 👍🙏
@Fireship
@Fireship 4 года назад
Thank you Firas 🙏
@RobertBrunhage
@RobertBrunhage 4 года назад
Awesome video, tip 56 (12:59) is my favorite, it was a real pain to do this before the increment FieldValue!
@Fireship
@Fireship 4 года назад
For sure, it is super useful :)
@Mellowjay
@Mellowjay 4 года назад
Just the video I've been hunting for the past couple of years! Thank you! 🙏
@amitk.512
@amitk.512 4 года назад
One underrated feature in firebase is custom claims. Can be very helpful for certain scenarios. Especially Authorization.
@benjaminjameswaller
@benjaminjameswaller 4 года назад
One more tip: grab a cup of coffee before starting! What an awesome collection of tips and tricks for Firebase.
@harryman0412
@harryman0412 4 года назад
best firebase content on youtube or otherwise. I might just become a member on fireship just to support you so you can keep making content that saves me time and headache. good stuff man.
@Fireship
@Fireship 4 года назад
Thank you! I try hard to provide a good value for pro members :)
@harryman0412
@harryman0412 4 года назад
@@Fireship It seems like you do :) I was looking through your courses and I think you've earned my lifetime subscription :) might have to wait for another paycheck or two though.
@meza5renitec
@meza5renitec 4 года назад
Honestly might be the best thing I've ever seen in terms of a tips video. Amazing work.
@agi20dla
@agi20dla 3 года назад
Excellent video! Thank you. I'm new to firebase, and this will help me out a ton!
@CarlosMolina-bp8jr
@CarlosMolina-bp8jr 3 года назад
Thanks! Every single word is gold in this video
@zeeshanazmat719
@zeeshanazmat719 4 года назад
One of the best video on Firebase... Thanks a lot Jeff
@malkavftw
@malkavftw 4 года назад
Yet another amazing video Jeff. If you can make one about how to cache firestore results when navigating "back", instead of running the query again, it would help a lot. RouteReuseStrategy seems to do the magic, but I can't find much about it
@patrickmullot73
@patrickmullot73 4 года назад
Super cool Video! Pretty mind blowing given its speed! Thanks for the shout-out, btw!
@harpymaslow
@harpymaslow 4 года назад
So much value in a single video. Love your work Jeff. Keep it up
@hameem6845
@hameem6845 3 года назад
This was insanely informative.. Well done man!
@DanBorgia
@DanBorgia 4 года назад
Liked, saved, and shared. Sooo valuable what you shared in this video.
@moilafreus
@moilafreus 3 года назад
Wow !! Definitely the most useful video i've seen in a long time ! Thank you so much
@ezwalduzumaki3161
@ezwalduzumaki3161 4 года назад
I love the vocals in the beginning, sounds so ancient and beautiful a bit scary too :D
@aydzz
@aydzz 2 года назад
I dont really need most of this right now, but Im trying to be on that level. Thanks and will surely be checking this out again when that time comes.
@rtpHarry
@rtpHarry 4 года назад
That was intense but great. I think I will have to watch it 100 times to absorb it all though! :D
@DavidLarsenDr
@DavidLarsenDr 4 года назад
Wow, awesome video - so helpful, now I just need to watch it 99 more times! lol
@DEV_XO
@DEV_XO 4 года назад
Mate you are just amazing. Awesome video! Thanks a lot!
@kwii22789
@kwii22789 4 года назад
This is the best video on firebase I've seen. thumbs up! Subscribed too :)
@brandonmyers2449
@brandonmyers2449 4 года назад
This is by far the best content I've seen on Firebase. Better than their docs and any other article out there. You're content on Firebase is always good and this was definitely no exception! Thank you!!!
@katbert100
@katbert100 4 года назад
Amazing stuff, thank you!
@afiq980
@afiq980 3 года назад
This video teaches me sooooo much, THANK YOU!
@CodingAfterThirty
@CodingAfterThirty 4 года назад
This is great. Thank you.
@haythamabdulla3321
@haythamabdulla3321 4 года назад
Man... You are my hero ❤️
@toddherron4832
@toddherron4832 3 года назад
Great to see the BIG PICTURE pulled together like that. The next trick (for me) is to do it all in DART/FLUTTER ... :)
@EzequielTejada
@EzequielTejada 4 года назад
tbh, this must be the most complete firebase video from the best firebase content creator... Good Job!
@Fireship
@Fireship 4 года назад
Thank you Ezequiel :)
@PedroAkaki
@PedroAkaki Год назад
Thanks! Till this Day, good tutorials of firebase are rare.
@LyroPac
@LyroPac 4 года назад
Loved thanks for the sharing
@sveinsoermo9883
@sveinsoermo9883 4 года назад
This was pure gold!
4 года назад
Great video! Super good, I will save for reference.
@danielantonioconte
@danielantonioconte 4 года назад
Great video! thank you so much :)
@metalllus
@metalllus 4 года назад
no.78, I would love to see a concrete example on how to set up a CRON job to automatically backup the database with the REST API, that would be super useful.
@teetanrobotics5363
@teetanrobotics5363 Год назад
Bro , you're the best!!!!!! Your content on firebase is amazinggggg !!
@JohnnyOshika
@JohnnyOshika 3 года назад
Awesome video with great tips!
@soumyadeepsinha
@soumyadeepsinha 4 года назад
One more tip : Use of custom claims to control different roles of users in the app such as admin, moderator , etc instead of making separate values in database . Btw love your videos 🥰
@Eyezbergslim
@Eyezbergslim 4 года назад
How would you do this in a social media app? For example, I'm creating an app where users create groups with administrators, members and super users. I'm not sure how I could do this using custom claims.
@soumyadeepsinha
@soumyadeepsinha 4 года назад
@@Eyezbergslim Basically Custom Claims is used for controlling different types of users in the whole app as its a part of the user's meta data . And it is limited to 1000 bytes(as far i remember) . So you can use firestore to store uids of particular group admins and write security rules according to that
@amitk.512
@amitk.512 4 года назад
@@Eyezbergslim For this case storing this information in a document will be a better choice i guess. For a group, you can have a sub collection of members, and each member document can have one of the above mentioned roles by you. This will be helpful to list the members according to their roles which will be needed somewhere most probably. If you save roles information just in custom claims you can't query them.
@hojdog
@hojdog 4 года назад
I actually think there are no legitimate use cases for custom claims, for security reasons. Custom claims are only updated when you log out/in - so if you wanted to remove someone with admin roles they don't lose them until they log out. That would be dangerous if you have a dodgy admin. It's not useful for your users either for the same reason. Want to give someone premium? They will have to log out first to receive the cred = bad UX
@caneallestamartinez2797
@caneallestamartinez2797 4 года назад
Spectacular 💪🔝
@albertcieplinski1870
@albertcieplinski1870 3 года назад
So good. Thanks!
@ziga9
@ziga9 4 года назад
best video and content on firebase 1M ⭐️🔥🔥🔥
@andy5627
@andy5627 4 года назад
Good vid. Are you going to have some video of Firebase for beginner? And maybe with Flutter integration.
@oiojin831
@oiojin831 4 года назад
This is perfect!!!!!!!!!!!
@asatorftw
@asatorftw 2 года назад
This video is pure gold👌👌👌
@ilyesbouhari
@ilyesbouhari 4 года назад
amazing tips thanks bro 🙏🏻
@MrCalacianu
@MrCalacianu Год назад
Hi! first of all I want to thank you for all your awsesome videos, they are help a lot. Would you consider making a video about monitoring firebase functions?
@nicolapigozzo
@nicolapigozzo 4 года назад
Greeeat thank you very much!!
@vedangdate
@vedangdate 4 года назад
Lifesaver alertttt !!
@theunisdk
@theunisdk 4 года назад
Best video ever!!
@j2isndhu
@j2isndhu 3 года назад
Best video I have seen in a long time
@zakariachahboun
@zakariachahboun 4 года назад
thanks man!
@oardi
@oardi 3 года назад
Thank you so much
@CRYPT0GRAPHIC
@CRYPT0GRAPHIC 4 года назад
More question needed in lovely quiz app.
@dom4cswdty84h5
@dom4cswdty84h5 4 года назад
you are a legend man
@robertmarquardt
@robertmarquardt 3 года назад
Thanks!
@TheEnde124
@TheEnde124 4 года назад
If you want to use a sign in provider that's not in firebase, you can use custom tokens! Also, great video!
@darshangowda309
@darshangowda309 4 года назад
Crazy 😍
@gggavin
@gggavin 4 года назад
That's some 🔥tips
@AbdulSamadDev
@AbdulSamadDev 4 года назад
Awesome 🔥
@21rogerwaters
@21rogerwaters 3 года назад
Epic content 🔥
@AssFaceNFT
@AssFaceNFT Год назад
My guy!!! 🙏🏻❤
@ibrahimqassem2254
@ibrahimqassem2254 Год назад
Good explain 👍
@DD3874
@DD3874 4 года назад
Great!
@nerd_mor
@nerd_mor 4 года назад
Tip that made me lose a few projects: you can only redirect URLs to Cloud Functions if they are in the same GCP region. And the only Region where this is possible is Us-central
@Fireship
@Fireship 4 года назад
Good to know! Was not aware of that limitation.
@vasiovasio
@vasiovasio 4 года назад
Amazing and very useful video! One question - what hat is your IDE - Visual Studio Code? And what is the name of the color theme - look Amazing with this font and size and these file icons on the left sidebar!
@LeaHayes
@LeaHayes 3 года назад
Best tip is to subscribe to this channel because it's pretty darn good :D keep up the amazing videos
@Banele808
@Banele808 Год назад
best dev video ever
@joshbedo8291
@joshbedo8291 4 года назад
Can you do more Firebase and React videos? i love these and learned a lot thanks! I have one question is it a good practice to store your firebase connection in a separate file that exports auth, analytics, firestore? So you can do something like `import { app, db, analytics } from './firebase'`. I was trying to get it running but was getting weird errors passing it through. @Fireship Also did they change the way imports work? I can't load analytics, performance, etc. without importing them separate.
@bhanukaisuru2618
@bhanukaisuru2618 4 года назад
Great..thank you!!!.. how to create user type on firebase auth?(student or teacher or other)
@VMzaVAS
@VMzaVAS 4 года назад
WOOOW!!!!🔥🔥🔥
@GaboneSgravato
@GaboneSgravato Год назад
Wow, so many useful tips in this video, i've really loved that, but I would like to ask one thing if possible: regarding the global variables, can I use a global variable inside google cloud and share it between functions? It would be really usefull to know, even because I can't find anything on the internet regarding this thing. Thanks in advance.
@joey8698
@joey8698 4 года назад
nice Jeff Please do you mind doing a video on firebase realtime storage with Angular? i really want to understand and i think you could help me and some newbies out here. thank you
@tylim88
@tylim88 4 года назад
nice man, i also setup two project, one for dev one for prod
@Fireship
@Fireship 4 года назад
That is good practice, although I'd like to see Firebase add some sort of default sandbox in the future.
@vicsystems
@vicsystems 3 года назад
U are just amazing
@DaveRBrooks
@DaveRBrooks Год назад
This is a great resource, Thanks. I have a question about "Trick one" which specifies creating two firebase projects one for dev and one for production. I've done that, but cannot seem to figure out how to build and deploy to the two different targets from a single project. Do you have a video detailing this process? Thanks
@WandersonJacksonn
@WandersonJacksonn 4 года назад
thanks :)
@DKPstudios
@DKPstudios 4 года назад
I have a question - do you recommend using two different databases if you were building a frontend for a lot of users, and a backend that you push content onto? Think of a blog site - would you use the multi-site mentioned, or would you have two separate databases to avoid someone getting into your backend - maybe I had sensitive data on the developer backend.
@troythompson2
@troythompson2 4 года назад
Stellar
@maiconm
@maiconm 4 года назад
awesome * - *
@LucasBonanni
@LucasBonanni 4 года назад
Awesome video! Nice tips! These days I was thinking if.. There is a way to work with firebase offline like using some mock? or for example, create a Unit test for your code that includes cloud function queries
@Fireship
@Fireship 4 года назад
Yes, the emulator suite can mock Firestore, Hosting, and Cloud Functions for local offline testing.
@LucasBonanni
@LucasBonanni 4 года назад
@@Fireship great! I read about the emulator but it mentions just cloud functions but I will dig more into that! Thank you!
@appdeliverio8761
@appdeliverio8761 3 года назад
Firebase 🔥💯 - We confirm: Angular SSR on Firebase is lit
@pankajrathi
@pankajrathi 4 года назад
You are awesome
@blockbusterlatefees7713
@blockbusterlatefees7713 4 года назад
I love 🔥 base
Далее
Firebase - Back to the Basics
25:23
Просмотров 583 тыс.
Cloud Firestore Data Modeling (Google I/O'19)
40:37
Просмотров 171 тыс.
50 YouTubers Fight For $1,000,000
41:27
Просмотров 110 млн
100+ Linux Things you Need to Know
12:23
Просмотров 761 тыс.
Is Supabase Legit? Firebase Alternative Breakdown
8:16
Firebase vs AWS Amplify
14:46
Просмотров 263 тыс.
JavaScript Pro Tips - Code This, NOT That
12:37
Просмотров 2,5 млн
Simulating the Evolution of Rock, Paper, Scissors
15:00
25 VS Code Productivity Tips and Speed Hacks
11:35
Просмотров 2,3 млн
Security Rules deep dive
12:09
Просмотров 17 тыс.
Is "edge" computing really faster?
8:14
Просмотров 583 тыс.