Vercel / SvelteKit updates that will make your life so easy

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

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

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

    Thanks for the updates 👍

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

      You are very welcome Paul. Thank you for your support!

  • @ScriKidding-eg6vn
    @ScriKidding-eg6vn Год назад

    wow my idol you are so great continue svelte / SvelteKit content!!!!🎉🎉🎉

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

    Wow, I think you have to do a video in details for all of that !!!

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

      Yes, there is so much here I want to cover. This is amazing AND with Rich at Vercel we have much more to look forward to !

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

    Having ISR, there is no more reason to use NextJS

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

    In general you should always use the edge as its faster if you can. The only reason to use nodejs should be for libraries that cannot run on the edge, like prisma.

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

      Faster, cheaper and longer timeout. Yes , use edge first unless you can't, I agree.

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

    Love this video! I can't wait to hear more.

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

      I can't wait to start playing with these features either!

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

    Bro, you've just sold vercel 😅😅

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

      Honestly, I have been contemplating migrating some of my apps to Fly.io (they are a great platform and I will do more videos). Then Vercel just dropped all this. I can't even think about it now. Rich Harris just upped the SvelteKit game at Vercel 1000% . I hope I sold you, because as of right now I won't even consider deploying a SvelteKit app to another platform and I will be recommending everyone to use Vercel for SvelteKit.

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

      Isr broke a lot of my builds... form actions don't works, data is not rendered correctly all the time. It's a lot buggy currently. Also vercel is expensive as hell. And all these sveltekit dude bro payed from vercel to hype it up are making thing worse for the ecosystem.

    • @ConsultingNinja
      @ConsultingNinja  Год назад +2

      That sucks you are having issues. You don't have to use isr, if it is giving you problems just shut it off i.e. config = {isr:expiration:false} . Deploying to Vercel is just so easy. What platform do you recommend? And FYI I was not paid by Vercel. RUclips requires all sponsored videos to be declared.

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

      Also if your builds broke when isr went live it may be because you now need to setup your config for where you want your runtime to be. If you don't do this it will default to serverless functions instead of edge. You might try adding import adapter from '@sveltejs/adapter-vercel';
      const config = {
      kit: {
      adapter: adapter({
      runtime: 'edge',
      }),
      },
      };
      export default config;
      to your svelte.config.js file
      This will ensure you entire app uses edge functions instead of serverless which are faster, cheaper and have longer timeouts than serverless. I hope this helps.

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

      @ConsultingNinja thanks for answering. I express myself wrongly about build breaking.
      My sites are deployed fine but the functionality are broken. Since there is no way for me to replicate them locally (fornmy knowledge at least) it is impossibile for me to see what's going on and what is causing issues. Sorry for saying that you were paid by vercel, but with all this hype around this platform and experiencing so many issue, I keep my guard up when people only say good thing about it.