The easiest realtime app I’ve ever built

Поделиться
HTML-код
  • Опубликовано: 30 янв 2025

Комментарии • 174

  • @saltymashedpotatoes
    @saltymashedpotatoes 2 года назад +201

    All these new frameworks are turning me into a minimalist.

    • @jackbar2476
      @jackbar2476 2 года назад +4

      😂

    • @dfsgjlgsdklgjnmsidrg
      @dfsgjlgsdklgjnmsidrg 2 года назад +19

      @@ieatthighs he minimalist he no use indicator for plurality if not necessary

    • @dfsgjlgsdklgjnmsidrg
      @dfsgjlgsdklgjnmsidrg 2 года назад +6

      @@ieatthighs he edited comment he no minimalist

    • @saltymashedpotatoes
      @saltymashedpotatoes 2 года назад +19

      @@ieatthighs I appreciate the correction. I've been getting a minimal amount of sleep lately...

    • @ieatthighs
      @ieatthighs 2 года назад +2

      @@saltymashedpotatoes thanks for the response, usually people aren't as honest as you
      have a good day

  • @zbik
    @zbik 2 года назад +273

    I love the love Jeff is giving to SvelteKit :)

    • @TwoTeaTee
      @TwoTeaTee 2 года назад

      He's getting laid.

    • @TwoTeaTee
      @TwoTeaTee 2 года назад +1

      *paid

    • @swaggitypigfig8413
      @swaggitypigfig8413 2 года назад +47

      @@TwoTeaTee Yes he is indeed bought by Big SvelteKit. Very much so. Absolutely without a doubt.

    • @war10zx98
      @war10zx98 2 года назад

      @@swaggitypigfig8413 and clearly dont have any family stucked in a random Taco Bell basement by trench coat people

    • @shlokbhakta2893
      @shlokbhakta2893 Год назад +1

      @@TwoTeaTee I’m sure sveltekit makes enough money to pay fireship

  • @GoldenBeholden
    @GoldenBeholden 2 года назад +18

    Svelte has become the definitive UI framework for me. I can't imagine using anything else when I have a choice.

  • @Twingamerdudes
    @Twingamerdudes 2 года назад +32

    I can finally die happy knowing I can make realtime apps in under 30 seconds.

  • @GiladGur0001
    @GiladGur0001 2 года назад +5

    You are an inspiration. This is exactly the kind of work I love to do and see as a software engineer. Abstracting and modeling the software and its components so it makes mine and everybody else easier to build stuff.
    Cheers 🎉

  • @jonathan2350
    @jonathan2350 2 года назад +7

    Hey man, really love how you make tutorials. I'm not even a web developer but the way you create and explain everything is great!

  • @rafalpotasz
    @rafalpotasz 2 года назад +11

    Awesome project. I'll study this to understand the patterns and how you used stores so efficiently, my stores and firebase code look massive in comparison in some older projects.
    When you announced the upcoming SvelteKit course I started typing a query about an updated Stripe course.
    Needless to say I deleted that query :).

  • @kerodfresenbetgebremedhin1881
    @kerodfresenbetgebremedhin1881 2 года назад +17

    we need that svelte kit course nowwww

  • @willinton06
    @willinton06 2 года назад +359

    I mean it should have been called FireSvelte but other than that it looks pretty cool

    • @minnow1337
      @minnow1337 2 года назад +116

      Should have been called Smelte

    • @suya1671
      @suya1671 2 года назад +24

      @@minnow1337 That name has already been taken sadly

    • @KonflictYT
      @KonflictYT 2 года назад +6

      SvelteBase

    • @danvilela
      @danvilela 2 года назад +6

      Sfelte

    • @noahhastings6145
      @noahhastings6145 2 года назад +4

      @@suya1671 Then it should be called Smelt, and should use a fish icon

  • @alishxn
    @alishxn 2 года назад +5

    Fireship uploads!! Day gets better

  • @messi8459
    @messi8459 Год назад +1

    4:55
    holy shit this itches such a specific part of my brain
    thank you so much for the effort you put into these videos

  • @SirDamatoIII
    @SirDamatoIII 2 года назад +6

    Can’t wait for the full Svelte course! Do hope it includes Svelte Kit and SSR, as it’s something that still eludes me which I hope to be able to push to Firebase hosting, as per usual.

  • @kawcco
    @kawcco 2 года назад +2

    I've also begun playing around with custom Svelte stores for a reactive data store I'm using and it's a lot of fun. Abstraction is always awesome.
    Passing down data through components looks very convenient, so I'll have to try it.

  • @ak-loz
    @ak-loz 2 года назад

    ... I don't think I will ever get to this level of understanding.
    Its so exciting watching these, also deflating...

  • @D-Ragon84
    @D-Ragon84 2 года назад +65

    Jeff: "Let's build a full stack app with Svelte Fire in about 30 seconds"
    Also Jeff: *Uses copypasta*

    • @enigma_steve
      @enigma_steve 2 года назад +2

      This comment is still underrated 🤣

  • @lachee3055
    @lachee3055 2 года назад

    these design patters will actually help a ton with authentication!
    While i dont use firebase, i found myself accidentally discovering this pattern with data already but never thought to actually own it and extend it to user auth.

  • @kennyhall9638
    @kennyhall9638 2 года назад

    I can't wait for your SvelteKit course!

  • @ricardotavares5544
    @ricardotavares5544 2 года назад

    Wow Jef, that was aswesome! Looking forward to the course. Have a great year!

  • @johnnygotti1568
    @johnnygotti1568 2 года назад +1

    I'm building a cross platform app with sveltekit that I plan to try and market, and this is very helpful. I wonder how many times I'll rewrite the code before I finish it lol. Thank you!

  • @ChessFlix
    @ChessFlix 2 года назад

    Amazing work. I will be using SvelteFire soon.

  • @dBradbury
    @dBradbury 2 года назад

    Wonderfully elegant. Love it!

  • @bmehder
    @bmehder 2 года назад

    Thanks for spreading the Svelte-y goodness!

  • @andreas543
    @andreas543 2 года назад

    Have taken your NextJS course. Looking forward to your SvelteKit course. 👍

  • @sikor02
    @sikor02 2 года назад +1

    I'm waiting for the course. It'll be my first course bought from Jeff :)

  • @Melez1
    @Melez1 2 года назад +11

    All I'm seeing is Context and custom Hooks. Coming from React, I taught this was not really possible elswhere. Thanks for the information Jeff ;) Svelte seems so easy yet so scary when apps tend to grow, this video, excluding the Firebase stuff is a really good exemple for global state management and I really want to dig more about Svelt now.

    • @suya1671
      @suya1671 2 года назад +6

      You're seeing context and custom hooks, but less verbose

    • @elliottjohnson1753
      @elliottjohnson1753 2 года назад +2

      That's basically what it is (context behaves verrrrrry similarly to React), but, in my experience, there are wayyyy fewer gotchas with Svelte Stores than there are with custom hooks in React. For one, it's much easier to work with complex objects and arrays that have asynchronous behavior.

  • @adaliszk
    @adaliszk 2 года назад +2

    Looks like a pattern we have been doing on native web component land a few years now to compose apps. However, the slot property is kinda cool, would be nice to see something like that instead of always sending data with events.

  • @pixel7038
    @pixel7038 2 года назад

    What a nice morning, talking trash to react and giving svelte some love

  • @johnmorton4750
    @johnmorton4750 2 года назад +1

    This is just the direction development with sveltekit needs to go. Thanks for making it, at the very least I learned how to design my sveltekit apps better! Generic design to remove boilerplate is the way to go.

  • @johetajava
    @johetajava 2 года назад

    Looking forward to that SvelteKit course :D

  • @adjaydev
    @adjaydev 2 года назад

    This stuff is simply amazing! 😀

  • @mathiasoxholm5234
    @mathiasoxholm5234 2 года назад

    Looks awesome, might try to reproduce it in my Nuxt app!

  • @quabey_
    @quabey_ 2 года назад +3

    And there I was, thinking I finally understood Svelte.

  • @MassimoMxswat
    @MassimoMxswat 2 года назад

    Amazing Job!

  • @yogenp
    @yogenp 2 года назад

    Looking forward to the SvelteKit and Stripe courses.

  • @notfaang4702
    @notfaang4702 2 года назад

    That looks cool, I am still on react, but that example at the end makes me want to switch to svelte for my next project 🚀

  • @7heMech
    @7heMech 2 года назад +2

    Blazing Svelte gang.

  • @pilotkid2011
    @pilotkid2011 2 года назад +1

    Jeff: “Do not use in production”
    Me: “challenge accepted”

  • @maxtyson652
    @maxtyson652 2 года назад

    I dont know why im watching this whilst banging my head against the desk because of c++ pointers, knowing full well im going to code up a website in pure html,css,js. But keep up the cool videos.

  • @griof
    @griof 2 года назад +3

    you should make a video about htmx and _hyperscript

  • @rossvold
    @rossvold 2 года назад +28

    I'm building with svelteKit right now and it's like taking heavy amounts of heavy drugs, just without all the sideeffects react gives me.
    Currently experimenting with different UI libraries like DaisyUI and Skeleton.

    • @0Smile0
      @0Smile0 2 года назад +1

      what are some good UI libraries you found?

    • @windwardhive7363
      @windwardhive7363 2 года назад

      no you not stop cappin

    • @rossvold
      @rossvold 2 года назад

      @@windwardhive7363 lmao ok then G 🗿

    • @okleid
      @okleid 2 года назад +3

      Give flowbite-svelte a try. Everything you need is in there

    • @rossvold
      @rossvold 2 года назад +1

      @@0Smile0 i like DaisyUI for components, but their page themes is kinda bad IMO. Tailwindcss is also really good and it works flawlessly for my usage.
      Skeleton UI is nice, but it’s a pain to set up. But be on the lookput for when they release it. I’m sure it’s going to be really good.

  • @ofeenee
    @ofeenee 2 года назад

    Beautiful.

  • @luismartins1150
    @luismartins1150 2 года назад +3

    Hey, great video. I knew this lib existed but never truly realized how helpful it could be. If you have more examples of how to use it in a longer videos (with more real case scenarios) I would totally watch it.
    Btw, I noticed you didn't put your website in the video description. Is that on purpose? When you mentioned the new course I looked for it in the description but couldn't find any links to it.

  • @alichamas63
    @alichamas63 2 года назад +4

    I love that you love Svelte. It's waaaay better than React, it'll just take the React chads a while to figure that out. This is coming from someone who used React in professional teams for years.

    • @jonathanthomas2449
      @jonathanthomas2449 2 года назад

      Should I already go ahead and skip learning react just to learn this

    • @minnow1337
      @minnow1337 2 года назад +2

      @@jonathanthomas2449 The svelte developer experience feels much closer to native js and for me it was much simpler and intuitive to learn, especially with their interactive tutorial. If you use svelte you will learn skills that apply universally to web development.
      If your goal is to work on your own projects I would recommend svelte. If you want to work in a corporate environment it’s worth picking up react, but that doesn’t mean you can’t still start with svelte.
      I was a react dev for 2 years and I recently switched to svelte for my own projects. It’s a much better developer experience and there’s far less boilerplate

    • @jonathanthomas2449
      @jonathanthomas2449 2 года назад

      @@minnow1337 Thank you! I "know" java but i want to really dive into full stack web dev right now too. Thanks for thr advice

  • @hasty849
    @hasty849 2 года назад

    I've been trying to figure out how to use sveltefire since I randomly found it like a week ago. Thank you.

  • @nsoneu
    @nsoneu 2 года назад

    great content! :)

  • @Antonio-yy2ec
    @Antonio-yy2ec 2 года назад +1

    SvelteKit rocks, happy to see you using it!!

  • @gautammenariya8292
    @gautammenariya8292 2 года назад +1

    course on Svelte and Sveltekit please

  • @rice8864
    @rice8864 2 года назад

    finally, thank you jeff :)

  • @charlesbcraig
    @charlesbcraig 2 года назад

    Playing with SolidJS at the moment, but keep wondering if I’m missing out on all the fun happening at the Svelte party

  • @roberthahn9040
    @roberthahn9040 2 года назад

    I am a big fan and learned a few neat Svelte tricks here! I have concerns with this approach however. All requests to the database will be issued by the client. Putting this behind a server-side API allows you prevent misuse through rate limiting individuals from spamming your backend. You can even add client side logic to significantly increase the complexity of manually issuing valid API requests which allows you to reduce the likelihood of people writing scraping or automation bots (although you can’t prevent it) Obviously, this is much more effort.

  • @AlexR_418
    @AlexR_418 7 дней назад

    Hi, could you please create a more detailed tutorial to use your library? Or add it as a bonus in your Svelte course 🙌🏻

  • @tinmank
    @tinmank 2 года назад

    I was working on a project with Sveltekit + Firebase, good timing that you created this so I can -copy- get inspired.

  • @keremtiryaki
    @keremtiryaki 2 года назад

    Please consider adding a little more TDD chapters for Sveltekit course

  • @AlexvanderValk
    @AlexvanderValk 5 месяцев назад

    Does this effectively turn your sveltekit app into a SPA given that the Firebase SDK and component has to load before most content is rendered?

  • @jhigger
    @jhigger 2 года назад

    i love the acronyms xD

  • @MaulikParmar210
    @MaulikParmar210 2 года назад +2

    On what regards this is a realtime app? All of the heavy lifting is already done in firebase sdk for updates and sync form and to the platform itself. This is more like using rxjs or redux for maintaining an application state from external interactions to platform

  • @DonovanNagel
    @DonovanNagel Год назад

    Do a Supabase Auth + SvelteKit tutorial and I'll be your fan.

  • @TurkeyMaster
    @TurkeyMaster 2 года назад +1

    Idea for video(if wasn`t already made) ... why should i use svelte/react/vue/angular/etc. Why with Typescript?

  • @uhidoesnotexist
    @uhidoesnotexist 2 года назад

    Now we need a pocketbase version!

  • @carelesswisper2426
    @carelesswisper2426 Год назад

    When is the Svelte course going to come out? I know you said in about month from the release of the video, and we're right around that timeframe. Please let me know I am interested!

  • @chinmayk8004
    @chinmayk8004 2 года назад +1

    Rich Harris should salute Fireship.

  • @andreilucasgoncalves1416
    @andreilucasgoncalves1416 2 года назад

    Fireship you can return unsubscribe directly on the onMount hook
    And you can call getContext in the same component that calls setContext
    I think your library can be better using hooks instead of components based

  • @sudoooooo
    @sudoooooo 2 года назад

    Hey Jeff, please make a playlist as how you script your videos please.

  • @weistrass
    @weistrass 2 года назад

    For me, the drawback is the few UI libraries

  • @sametrise
    @sametrise 2 года назад +2

    I didn't understand shit but looks cool 🤣

  • @josephaugustin5103
    @josephaugustin5103 2 года назад

    Really happy to support you through Fireship Pro since it enables you to work on and test all these different approaches.

  • @picsi-software
    @picsi-software 2 года назад

    When are you going to have a whole course for Svelte??... ah you answered it at the end :)

  • @sb_dunk
    @sb_dunk 2 года назад +2

    Something that worries me about SvelteKit is my lack of understanding of how it works and where I may slip up when it comes to security (e.g. simple things like having private code running on the front end).
    If I'm correct that this is a risk, I'd love a video on it!

  • @BogacGuven
    @BogacGuven 2 года назад +1

    Can we use FirebaseApp component from +layout.svelte? Do we still need to add it at page level if we already have it in its parent layout?

  • @traviswang9083
    @traviswang9083 2 года назад

    This reminds me how advanced rxjs and angular they are

  • @GreenCrowDev
    @GreenCrowDev Год назад

    Are you going to release a Svelte course anytime soon?

  • @Joachimbj
    @Joachimbj 2 года назад +6

    I've thought for a long time that Vue is the natural step forward for angular and react developers. Angular people would have their mind blown by an extremely easy reactivity model compared to rxjs, (working) hmr, actually useful devtools, etc. React developers would have their mind blown by embracing the mutable nature of objects and automatic mutation tracking instead of doing (costly) reruns of functional code and immutable object creation.
    But it seems a lot of devs are jumping ship from react over to svelte instead of Vue. Vue 3 and svelte are almost identical in syntax, but svelte bundles end up larger in size, and the written code is further from JS than Vue (the reactivity parts).
    I've concluded that svelte might win the hearts of devs in 2023 by being young. If I google a vue problem, I'll find solutions for v1, v2, v3, options api, composition api, etc.
    A lot more confusing for a newcomer than svelte which has few changes between versions.
    Good documentation wins developers over I guess..

    • @pmj_studio4065
      @pmj_studio4065 2 года назад +8

      I've tried learning Vue and it felt very similar to Svelte, but with many little things that are a little bit less convenient.

    • @suya1671
      @suya1671 2 года назад +7

      Svelte is more lightweight then Vue and is overall simpler. I've used both svelte/kit and Vue/nuxt3, and I just feel that sveltekit does what I can do in nuxt3, but faster and with less complexity.

    • @aravindpallippara1577
      @aravindpallippara1577 2 года назад +1

      Vue does feel like a breath of fresh air coming from react - it tidies up the mess a lot by giving quick shortcuts for a lot of repeatedly used patterns and designated sections to split up code
      The problem with react was never the functionality - it was always the resulting mess that kept happening if you don't have a really good dev team who knows how to manage code
      But svelte seems more pure to me due to the no bundling idea - as long as the tree shaking and optimisations keeps happening I don't see why it would eventually have competitively small productions bundles (even if right now they aren't great)
      And let's just compromise on the part that JS isn't exactly syntax/language standard anyone should aspire to

    • @phoneywheeze
      @phoneywheeze Год назад

      > vue is closer to js
      I think svelte is meant to be close to plain html/CSS apps, with js, as opposed to building apps with js

  • @Alcaatraz01
    @Alcaatraz01 Год назад

    At the end of the Custom Stores section you return an anonymous function that invokes the unsubscribe function. Can you just return the 'onAuthStateChanged' invocation instead? Just wondering if it doesn't work.

  • @nadialakehal1584
    @nadialakehal1584 2 года назад

    Which is better to learn as my first framework svelte or react ?

  • @steezyalejos5905
    @steezyalejos5905 2 года назад

    Nice. Now could you do it with vue + pinia + Vite with pure ES6 Modules ? Thanks i’m waiting

  • @FeedtheSearch
    @FeedtheSearch Год назад

    Is this still experimental or can it be used in production? I see the last update was 7 months ago.

  • @abiiranathan
    @abiiranathan 2 года назад

    Rich must have watched this with a Giant smile 😁😁 if he did that is!

  • @kwhandy
    @kwhandy 2 года назад

    wanna make 2023 tech prediction?

  • @TheGreatProphecy
    @TheGreatProphecy 2 года назад

    Why not just use something like netframework webforms with a db?

  • @benbo_slice
    @benbo_slice 2 года назад

    Maybe someday Meteor will be cool again

  • @shamaldesilva9533
    @shamaldesilva9533 2 года назад +1

    Sveltekit course ...soon ? 😌

    • @zbik
      @zbik 2 года назад +1

      Watch the last 10 seconds. It's coming in a month.

  • @leagueoflags
    @leagueoflags 2 года назад +16

    Ok boys, time to recode our Next13 apps to SvelteFire. But no worries, I'm sure this framework will last for at least one week!

  • @asatorftw
    @asatorftw Год назад

    Are you still working on this project or is it on hold? I've seen its not recommended for production. But I wish it was haha =D

  • @meanotaku
    @meanotaku 2 года назад

    sveltekit updated tutorial when

  • @bobbynicholson5329
    @bobbynicholson5329 2 года назад

    FIRE

  • @polioann
    @polioann 2 года назад

    how can I style children's from parent component? :)

  • @siegbertus2000
    @siegbertus2000 Год назад

    HELP! I just don't get it working. Everywhere there's different documentation about how to set the config. If I try to make it exactly the way your docs suggest I run into a bunch of problems. Can someone please help me??

    • @siegbertus2000
      @siegbertus2000 Год назад

      Maybe could you update the sveltefire Template? It would be soooo helpful! I want to start programming, instead I'm waisting hours with Firebase Config...

  • @siliwolf
    @siliwolf 2 года назад +3

    The thing I'm mostly missing on in UI driven data frameworks such as this one, is the fact that it's very difficult to test.
    How do you test your app without hiding behind mocks for the entire transport layer?
    I mean, you can spawn a local firebase simulator and point to it, but that's quite memory intensive in terms of resources, namely while developing.
    I'd really love to have a separate in-memory transport layer which will run against the real-ones test suite, and once the two have passed, I could defer to the on-memory one from that point on, for the rest of the tests, but it seems like all of these ui-wrapped-data-libraries suffer from similar afflictions (not limited to svelte of course, react/angular/vue have a similar library for years now).

  • @noahg2
    @noahg2 2 года назад +2

    Could've went with " Sve *lit* "

  • @PureAlbania
    @PureAlbania 2 года назад

    Can you do the same for Vue?

  • @rogerregistratro7882
    @rogerregistratro7882 Год назад

    why do ppl edit pauses out of their video? i don't have a moment to process what you're saying

  • @arturoaguilera5167
    @arturoaguilera5167 2 года назад

    $nice $video

  • @Nerdilicious
    @Nerdilicious 2 года назад

    Inb4 Jeff marries SvelteKit

  • @pyroio9591
    @pyroio9591 2 года назад

    I understand everything he said.

  • @rainchai4450
    @rainchai4450 2 года назад

    SvelteKit is the best!

  • @kephas-media
    @kephas-media 2 года назад

    SolidFire I wait for you

  • @CalicoArchives
    @CalicoArchives 2 года назад

    Svelte is the way

  • @sazaraki
    @sazaraki 2 года назад

    Could you please add subtitles to this video please?

  • @beyondflutter
    @beyondflutter 2 года назад

    Imagine SvelteNative

  • @denverjamesduran2750
    @denverjamesduran2750 Год назад

    Is this library still active?