Тёмный

NEW Firebase Features Just Dropped 

Beyond Fireship
Подписаться 389 тыс.
Просмотров 119 тыс.
50% 1

Firebase just announced a bunch of big new features like SSR hosting for Next.js, aggregation queries for Firestore, an extensions marketplace, and more in at Firebase Summit 2022.
Become a PRO member at fireship.io/pro to see these features in action.

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

 

18 окт 2022

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 194   
@jjaaccekk
@jjaaccekk Год назад
am I the only one who thinks that Jeff has taught a text to speech model his voice and he has been using that in his videos for some time?
@ricko13
@ricko13 Год назад
Lol kinda
@Formula7Driver
@Formula7Driver Год назад
taught*
@AdityaTripathi
@AdityaTripathi Год назад
Of course, I thought we all know this already
@Kirshach
@Kirshach Год назад
True, I no longer hear kids in the background
@Adomas_B
@Adomas_B Год назад
15% chance
@Max-dd3eb
@Max-dd3eb Год назад
For those wondering about the cost of the count() firestore function, it’s going to cost 1 document read for every 1000 documents the function reads, so it’s very cheap to use. If your wondering where I found this, a firebase developer answered this question during a q&a at the summit event
@jonathangamble
@jonathangamble Год назад
its also under billing now
@charlesm.2604
@charlesm.2604 Год назад
Can't kill the golden goose...
@idlevandal69
@idlevandal69 Год назад
Thanks Max...
@Max-dd3eb
@Max-dd3eb Год назад
@@matthewrideout2677 finally time to delete my 50 firestore function triggers 😌
@prashantd6252
@prashantd6252 Год назад
You're*
@sidforreal
@sidforreal Год назад
Omg I remember 4 year ago creating a project and could find any simple way to count documents. Can’t believe they took so long for this 😅
@wlockuz4467
@wlockuz4467 Год назад
Note: Firebase functions are not included in the free plan anymore, you still get 2 million function invocations for free but you have to upgrade to their pay as you go plan. You can't set a limit on the number of invocations, you can only set notifications for a certain $ budget. So if you wrote some bad code, your card might rack up some serious charges. One such example is having a firestore trigger on a document update, but this trigger modifies the document again. This type of pattern will cause an infinite chain of function invocations.
@shep9194
@shep9194 Год назад
The collection size is awesome, firestore finally learned how to count
@shadown1992010
@shadown1992010 Год назад
During #AskFirebase they said that COUNT() would cost one read per 1000 documents!
@YuriG03042
@YuriG03042 Год назад
Counting documents is literally the biggest reason why i use MongoDB over Firebase on my projects. Implementing pagination without knowing your document count is hell and I've implemented several ways to circumvent it (even writing to a JSON file every time a document is deleted/created!). This certainly levels the playing field now. Hopefully the aggregation queries also allow us to chain filtering, because that's also something that MongoDB does better.
@DominikGiroux7
@DominikGiroux7 Год назад
Thank you so much! I hadn't had the time to watch the summit
@user-rg1jp2us4o
@user-rg1jp2us4o Год назад
I'm a bit disappointed they still didn't add search. Google, the search engine company, is yet to add search to firebase. I do see potential with extensions though, maybe the people could provide what google seemingly can't.
@John-qt6qk
@John-qt6qk Год назад
And they won't son, You betta go to MongoDB I just did
@BaldeepSingh24
@BaldeepSingh24 Год назад
When i used Firebase for a project, i found it to be so easy and cool. Like real time updates, authentication and so much more that i wondered why someone would write a backend for a small application but then i found that it couldn't even count ffs. Atleast that is no longer an issue.
@alb12345672
@alb12345672 Год назад
Could get extremely expensive too. We replaced it with Postgres and websockets. Some things it just couldn't do for us.
@toastrecon
@toastrecon Год назад
Very cool! Looking forward to the new courses.
@elijahstorm9740
@elijahstorm9740 Год назад
Literally so awesome! These features have been something I wanted for so long!!!
@himbary
@himbary Год назад
Thanks for keeping us updated Jeff
@DanielTames
@DanielTames Год назад
Amazing!! each time getting better and better
@itssidhere
@itssidhere Год назад
The main problem in my opinion about ttl is you need an explicit timestamp for the expiration date. When you use server timestamp you can't really add a duration on FieldValue, you have to rewrite the expiration date Incase you use FieldValue. It would be great if they gave an option to specify a timestamp and a duration, so that we don't have to add a separate timestamp
@ourtrishan8884
@ourtrishan8884 Год назад
Love from Kolkata, India. You are awesome Jeff! ❤️❤️❤️
@JeanDidier
@JeanDidier Год назад
Support for Next is huge addition
@user-jchjkitv77896
@user-jchjkitv77896 Год назад
Wow this is the update I have been waiting for
@shortkeys73
@shortkeys73 Год назад
Go to 1:14:00 of the Summit, I asked the exact question about the cost of aggregation queries. They said you get charged 1 read per 1000 documents counted.
@fourlokouva
@fourlokouva Год назад
jam packed with info!!! the only channel I actually slow down to 0.75x
@drtron1507
@drtron1507 Год назад
Great compilation!
@Tonaldo90
@Tonaldo90 Год назад
This even fortifies my earlier thought that this channel is just disguised Firebase ad channel
@gducrash
@gducrash Год назад
This is one of the bases of all time!!!1
@nikolazivkovic5707
@nikolazivkovic5707 Год назад
i really apreciate your help with dowloanding this software
@flonmackenzie2876
@flonmackenzie2876 Год назад
OMG the hours I have spent writing and testing count functions. Finally!!!
@dinysanchez
@dinysanchez Год назад
wow this is some powerful stuff. I’m so excited! Always a fan of firebase and fireship. Jeff please make a video of Angular universal and firebase hosting please please 🙏.
@anweshandev
@anweshandev Год назад
As soon as I joined the firebase summit, I knew Jeff's new video 😄
@volmitsoftware7986
@volmitsoftware7986 Год назад
Blocking as in a non-blocking event. The blocking function has nothing to do with rejecting signups, it has to do with (blocking) the "process" of signing up to run your function before the user is fully created instead of listening on event which would happen AFTER the user signs up. This essentially allows you to ensure all docs are created before the user finishes signing up.
@benaloney
@benaloney Год назад
Pretty sure this is incorrect ^ They're described as running synchronously during the signup flow, and if you throw a specific error, it will block the signup, thus rejecting...
@lizerd
@lizerd Год назад
@@benaloney They’re talking about reasoning behind its name, not what it can also do by design. Synchronous call = Blocking.
@stockiten3369
@stockiten3369 Год назад
I can't believe how much time I invested in writing my pagination logic because the query does not have a count method to get the query length in total! FINALLYYYYYY!! data.count() has been implemented! thank you jeff for the amazing video thanks firebase for the hard work
@forno_nicolas
@forno_nicolas 11 месяцев назад
1:33 I heard that 1000 "counts" equals 1 document read on Firebase RU-vid channel... Note: the price is not fractional... If you count 50 "counts" in a query, that equals 1 document.
@ricko13
@ricko13 Год назад
Ok but still no default full text search without extensions...
@thomas6502
@thomas6502 Год назад
(One of my favorite walled gardens.)
@hyderoxxx
@hyderoxxx Год назад
Finally I can get rid of my "counters" collection 😱
@chinmayghule8272
@chinmayghule8272 Год назад
I didn't understand most of it but all this sounds pretty cool. 👍
@RoystonMalcomber
@RoystonMalcomber Год назад
COUNT! COUNT! COUNNNNNNNNNNTT!!!! There's something really wrong, when in 2022, I'm excited about a document store offering count functionality.
@ludologian
@ludologian Год назад
And I will see you in the nex .... Going fast
@rafaelzasas9421
@rafaelzasas9421 Год назад
Support for SSG and SSR hosting channels is also on the way. Stay tuuuned
@maskman4821
@maskman4821 Год назад
Awesome 😍
@andreschubert4400
@andreschubert4400 Год назад
Thought about using supabase for my next project but these changes are awesome! So I might stick with firebase 🎉
@charlesm.2604
@charlesm.2604 Год назад
Document collection count is billed 1 read by 1000 documents. Self host supabase.
@poolkrooni
@poolkrooni Год назад
@@charlesm.2604 Self-hosting supabase is pretty limited compared to the service offering :/
@NinjaNuggets21
@NinjaNuggets21 Год назад
I’d really love a UI that looks like an excel sheet. Supabase seems to have this.
@luichyluichy
@luichyluichy Год назад
Nice!
@temptrue3322
@temptrue3322 Год назад
all features are tightly coupled and price tiers on each one of them
@lucasgiunta8874
@lucasgiunta8874 Год назад
Do you think the SSR hosting will be possible with Astro SSR as well ? Or it is only specific to next and angular ssr ? Like to access to the users from the astro props and share sessions you showed would be amazing.
@loic8939
@loic8939 Год назад
i bet there will be an option to configure the deployment steps individually, don't you think?
@charlesm.2604
@charlesm.2604 Год назад
Firestore has always had modern approaches so it wouldn't surprise me if all of this deployment stuff would be tightly integrated with the CD pipeline tools you're using.
@JamesDaniels0
@JamesDaniels0 Год назад
Astro will likely be leaning on the Vite integration in the mid-term, given their (and our) roadmaps. We're closely watching what Vite's abstractions over SSR will be, once a clear pattern emerges we'll jump on it.
@charlesm.2604
@charlesm.2604 Год назад
@@JamesDaniels0 Well wasn't Vite created after the former project that the Astro team was working on ? I'm pretty sure Vite started out as a continuation of Astro team's build tool for which the development got abandoned.
@JamesDaniels0
@JamesDaniels0 Год назад
@@charlesm.2604 not sure on the history there. I’ve not followed it as closely as I should, historically speaking. I’ve been very busy on the Firebase side working on the tooling by which we can ship the integrations. Vite certainly seems to be taking the ecosystem by storm & making our lives easier. Since we’ve added first class support, any framework that uses Vite should “just work” on Firebase-even if it’s not explicitly called out.
@karuppusamy.d
@karuppusamy.d Год назад
Please make a video about how to host the next.js app on firebase with advantages and disadvantages of both
@tntg5
@tntg5 Год назад
I can finally get rid of some machinery I have put in place that increment/decrement a value for each collection when I create or delete data. The question is, will we be able to query a collectiom with ordering and pagination? Like get from XXX, order by ZZZ desc, page 0, limit 100 ?
@rubenheymans1988
@rubenheymans1988 Год назад
public extensions is huge ! nice updates however no full text search too bad
@pendragonscode
@pendragonscode Год назад
hell that's cool!
@dongums
@dongums Год назад
wow I just ask him in Twitter about this yesterday
@_vicary
@_vicary Год назад
Finally a count? I feel lucky for leaving it alone all these years.
@danvilela
@danvilela Год назад
Awesome news! Now.. if they dont mess with my firebase menu collapsing it automatically I would be really grateful!
@wenxuanchen4694
@wenxuanchen4694 Год назад
Actually huge update
@core-hacked
@core-hacked Год назад
0:44 there is a typo: NEXT IMAGE *OPTIMZATION*
@manunowo214
@manunowo214 Год назад
Just simply put the code, it works! thanks!
@desirechiduku964
@desirechiduku964 Год назад
😅quick question how do you manage 2 Accounts + a school?
@ajfalo-fi3721
@ajfalo-fi3721 Год назад
But are those features available on the free tier?
@josemurillorios
@josemurillorios Год назад
I wonder if some of these features will be available in their REST API
@BlaQsheeeP
@BlaQsheeeP Год назад
"Laughs in Django"
@yogenp
@yogenp Год назад
Finally, can deploy NextJS apps to firebase hosting.
@briantep458
@briantep458 Год назад
anything that sounds or looks cool will kost me money!!!!
@yoshcode
@yoshcode Год назад
This is cool but what I really want from firebase is just better performance. The bundle size is too big and should be even more modular. It adds too much overhead to your Lighthouse performance scores, even when you are using the latest versions of firebase/firestore
@beyondfireship
@beyondfireship Год назад
I'm using Firebase on fireship.io and have a smaller bundle than hello world react. The key is to split firestore from the bundle if possible
@Max-dd3eb
@Max-dd3eb Год назад
Yeah the size of the SDK is huge, but there are ways around it. First, you could use the firebase lite sdk for a smaller size but less features. Or like Jeff said, use dynamic import for the firebase functions/modules needed. If your using nextjs you can create a firebase context provider, wrap your app in it and dynamically load the provider. Add a hook to the data you want from the provider and bam, the code isn’t part of the initial bundle and you can use the hook anywhere in the app to get your db/app data you want without extra size
@hi9313
@hi9313 Год назад
You can lazy loan both firestore and firebase. It's a pain still tho that they have not got the bundle size down over the years. I tried different solutions, and deferring both with lazyloader is the key to getting perfect lighthouse scores. Using nextjs to build static means I can get homepage loading instantly, and then by the time user navigate to another page firestore is up.
@sanesanyo
@sanesanyo Год назад
When deploying the NextJS app on Firebase with this new hosting, do API routes get deployed as well? I am not sure about it but just wondering. I have a NextJS app which I have deployed using Cloudrun but using all other firebase functionalities so it would be awesome if I can also deploy the whole thing using Firebase hosting.
@misterbelgic
@misterbelgic Год назад
Same Q here. Did you find an answer? I tried hosting but if it deployed the API routes as well, I'm not sure how to access them..
@sanesanyo
@sanesanyo Год назад
@@misterbelgic Nope i haven't. Did you see if it deployed those API routes as cloud functions? Could you access the API routes from your components? If not then I guess they are not deployed. My sense is that you have to deploy the API routes as cloud functions yourself and hosting bit in this case is more server side rendering of static pages. I am going to explore it more in future ans will let you know as soon as I figure it out
@JamesDaniels0
@JamesDaniels0 Год назад
API routes will be deployed alongside the static content in a Cloud Function ;) Happy coding!
@misterbelgic
@misterbelgic Год назад
@@sanesanyo I only see one cloud function which is the ssr one that's automatically generated
@sanesanyo
@sanesanyo Год назад
@@JamesDaniels0 Thanks
@matt5g
@matt5g Год назад
So with the new doc count feature, I'm going to assume this will make reading a random document a lot easier, is that right or am I thinking about this wrong? Any thoughts are appreciated
@deneychuk1
@deneychuk1 Год назад
It will make knowing how many documents in query/collection much cheaper(about 1000 times cheaper than what it has been)
@MysterCannabis
@MysterCannabis Год назад
Will you update the course?
@sachin_dev
@sachin_dev Год назад
🔥🔥
@KartikTech2020
@KartikTech2020 Год назад
i have an application built using nextjs but, i can't get currentUser on server side, in firebase docs i cant understand how to get res.locals
@mulwelimushiana8388
@mulwelimushiana8388 Год назад
I'm disappointed that they didn't include full database search 😓
@DreamersLab
@DreamersLab Год назад
search is still missing.... I thought they were gonna add it.
@codediporpal
@codediporpal Год назад
LOL, quickly getting a count of the number of object in a collection???? It's like we're finally reinventing basic tech from 40 years ago! But hey, at least we get to deal with 20 configuration files! Progress!!!
@thienhuynh7962
@thienhuynh7962 Год назад
To get a count in firebase requires you to iterate through the entire collection, which means 1 read per doc and it gets very expensive. Firebase’s solution is to reduce the read 1000 times less but still get the actual count of all docs in the collection if you use the count prop.
@neociber24
@neociber24 Год назад
Great content, But I'm curious about how is this channel different from fireship, because this video could be a "the code report"
@rahulsawant_pikachu
@rahulsawant_pikachu Год назад
🔥
@Arthur_Morgan_007
@Arthur_Morgan_007 Год назад
I don't know why but my app just stopped loading just 18 hours after its first deployment. I was in a free tier.
@dani3l3_
@dani3l3_ Год назад
nice
@Karaku5
@Karaku5 Год назад
SSR will also work with nuxt?
@JulienReszka
@JulienReszka Год назад
I want to know too
@JamesDaniels0
@JamesDaniels0 Год назад
Yes, Nuxt is a work in progress! We should be ready to deploy your apps soon
@adolfjamesurian6510
@adolfjamesurian6510 Год назад
Is firebase hosting + nextjs with ssr free? Since it needs to run server side code will it cost price?
@JamesDaniels0
@JamesDaniels0 Год назад
If you deploy with SSR or any other features that require a backend (e.g, Image Optimization), your project will need a payment method and will cost you money once you exceed the free tier of 2 million req/month.
@user-dh1gm3kl6j
@user-dh1gm3kl6j Год назад
Why are you the only one on RU-vid how scale code editor enough for conveniently reading code on iPhone 7 screen?
@xDMrGarrison
@xDMrGarrison Год назад
I couldn't care less about whatever the hell Firebase is, but you are hilarious so I'm just gonna watch the video.
@rea9lizer
@rea9lizer Год назад
BTW now I hope Google fixes GCP web interface, it's unacceptably lagging..
@nonstopper
@nonstopper Год назад
Youre saying we get to finally leave Vercel. Thank god
@duttaoindril
@duttaoindril Год назад
The count function can actually get really expensive. If you have a 1000 users requesting a count of a query, and the number is greater than a 1000, like 10000 let's say, that's 10 reads per user, which means 10000 document reads per user reading a count, at ay time. Assuming an user reads a count of 1 query a day, that's 6 cents every 10 days for showing 1 number greater than 10000 to a 1000 users. If you have 10 numbers like this, that's easily 6 cents a day, or almost $2 a month. If you grow to 10000 users, that's $20 a month.
@euboid
@euboid Год назад
For an app with 10,000 monthly active users, $20 shouldn’t be horribly expensive.
@thienhuynh7962
@thienhuynh7962 Год назад
That’s kinda cheap actually…
@misterbelgic
@misterbelgic Год назад
If you create a pages/api route in Next.js, how do you access that same endpoint once it's hosted on firebase. Anyone know?
@JamesDaniels0
@JamesDaniels0 Год назад
you can just hit the /api/*** url, if the CDN cache is missed it will fall through automatically to a backing Cloud Function
@misterbelgic
@misterbelgic Год назад
@@JamesDaniels0 That's what I've been trying but doesn't seem to be working. I dunno if the root url is meant to be different maybe?
@JamesDaniels0
@JamesDaniels0 Год назад
@@misterbelgic file a bug on the firebase-tools repo, happy to look into it
@azatecas
@azatecas Год назад
firebase released all this because pocketbase had that cool eye automation
@WilliamWelsh
@WilliamWelsh Год назад
Crazy that it took this long to be able to just import or export data, but also crazy that we have to go into the ugly Cloud UI app outside of Firebase
@shamaldesilva9533
@shamaldesilva9533 Год назад
Still no full text search 😖😖😪
@cryptophrenik8968
@cryptophrenik8968 Год назад
I heard he coded a custom AI version of himself and flew to the Mars habitat he had remote AI powered robots building these last 6 months. He is sippin on top shelf margaritas in his BioDome reading our comments and chuckling to himself I suspect.
@AbdullahAbdullah-je4uw
@AbdullahAbdullah-je4uw Год назад
still no support for any other language except for JS for firebase functions.
@vsDizzy
@vsDizzy Год назад
I didn't followed but I have two questions. Is DESC sort implemented already? Are awkward "shallow" security rights still there? Thanks.
@dinoscheidt
@dinoscheidt Год назад
Has firebase GraphQL now? Dropped it for that reason four years ago
@attesilen4893
@attesilen4893 Год назад
What do you mean by asking if _Firebase_ has GraphQL? Nothing is stopping you for using GraphQL in a cloud function.
@PubuduDodangoda
@PubuduDodangoda Год назад
for for for 🤣 Asking for for forever
@Ca-rp7bv
@Ca-rp7bv Год назад
I'm waiting the next firebase update in 2028
@cmdv42
@cmdv42 Год назад
🙌💯✨
@xylvnking
@xylvnking Год назад
As a new dev with no budget i just desperately want to be able to set a spending limit. I know there's ways to handle it, but it's all a lot more difficult than it is to get going so makes deploying any real app a potential disaster and raises the complexity floor by a lot. I would literally just not be able to pay a large bill, so I can't take the risk that google would forgive it.
@TheMitchingHour
@TheMitchingHour Год назад
I totally agree. I'd be happy to pay if I could set a limit, but without a safety net I just don't have the confidence that something won't go wrong.
@charlesm.2604
@charlesm.2604 Год назад
Self host open sourced alternatives
@xylvnking
@xylvnking Год назад
@@charlesm.2604 Yeah I've been looking at supabase. It's just a bummer because my needs are so simple and I have them all covered already with firebase, except being able to set that limit.
@xylvnking
@xylvnking Год назад
@@charlesm.2604 Yeah I started asking myself the same thing. I use next which satisfied the api needs I have, and I've actually been using the Notion api recently since I already use the software a lot and have the unlimited plan. For my needs it honestly might be enough haha. I used cloudinary for a project recently too and it was great.
@charlesm.2604
@charlesm.2604 Год назад
@@xylvnking I wasn't aware of the existence of Notion it seemed like a complete collaboration tool. I'll ask my team to look into it and potentially integrate it in our pipeline. If you're learning I'd still suggest you to mess around with back-end stuff. Just doing side silly projects like a local file streaming server, some (web)socket-involved software (chat, notification system, collaboration editing, etc...) or even just a simple social media mock-up. It's gonna help you a whole lot later on. :)
@cloutdevelopers8633
@cloutdevelopers8633 Год назад
Firebase is Fire, Google just fired the ship.
@erickheredia8910
@erickheredia8910 Год назад
How so? I'm more exited by the incumbents (Supabase, Appwrite, Realm) than Firestore.
@cloutdevelopers8633
@cloutdevelopers8633 Год назад
@@erickheredia8910 Yeah bro, do what makes you feel happy. I love firebase, especially firestore, made me more money, I have ever dream. More updates means more money
@shateq
@shateq Год назад
Jeff, you made a man out of me
@itspawanpoudel
@itspawanpoudel Год назад
Any one suggest me for best tutorial for firebase & React
@potsuaye69
@potsuaye69 Год назад
from the start of watching fireship to now i always thought firebase was a site Jeff owned but turns out its not
@achalxyz
@achalxyz Год назад
Firebase Summit 2023: We'll be shutting down Firebase within a month.
@lucaban
@lucaban Год назад
What about Nuxt?
@JamesDaniels0
@JamesDaniels0 Год назад
It's on the way! Nuxt3 RC broke a couple things on us in the lead up to Firebase Summit, so we put it on the back burner until the dust settled from the launch.
@TheHasanJr
@TheHasanJr Год назад
Vercel may go bankrupt!
@cheveuxdelin_
@cheveuxdelin_ Год назад
hi
@monkaSisLife
@monkaSisLife Год назад
I love all these Tools but unfortunately you can use pretty much none of them because of EU-GDPR
Далее
I tried 8 different Postgres ORMs
9:46
Просмотров 381 тыс.
PROOF JavaScript is a Multi-Threaded language
8:21
Просмотров 260 тыс.
МОЩЩЩНОСТЬ ZEEKR 001 FR
00:46
Просмотров 696 тыс.
I tried 5 Firebase alternatives
10:31
Просмотров 748 тыс.
Next.js 13 - The Basics
9:00
Просмотров 610 тыс.
Building RAG with GPT4o
4:03
Просмотров 2,1 тыс.
How I deploy serverless containers for free
6:33
Просмотров 384 тыс.
Next.js Server Actions...  5 awesome things you can do
7:51
Next.js 13… this changes everything
6:16
Просмотров 770 тыс.
What Theo Won't Tell You About Next.js
8:37
Просмотров 78 тыс.
I built an image search engine
6:44
Просмотров 283 тыс.