🥟🤝🚀 Bun and Astro!

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

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

  • @MyCodingDiary
    @MyCodingDiary Год назад +3

    Your videos are my go-to resource whenever I get stuck on a coding problem. Thank you!

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

      Thanks, my friend. So glad you’ve found the content helpful!

  • @taquanminhlong
    @taquanminhlong Год назад +5

    ```bun dev``` is enough 😂

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

    Would you do a deeper dive on your Bun workflow? That would be great 🙏

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

      As I use it more, I’m sure I will! Right now just playing around with it in a few projects but it looks promising!

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

      @@CodinginPublic I’ve not had the chance to try it out and your videos have been an awesome resource 🙂

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

    Hi, Chris. Waiting for your course on Astro. Hope you will cover other creator’s courses (you probably know who I am talking about). It will be cool if you’ll cover cms, databases and so on in your course🫶

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

      yep, and a supabase + solid js!

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

      I’ve got plans for lots! The early access will start fairly basic but I hope to bring these items without making them the focus. I’d like to stay focused on Astro and stay agnostic to side tools while still giving enough for people to understand.

  • @tofuman9526
    @tofuman9526 4 месяца назад

    Been using it in a project with Astro, no problems so far.

    • @CodinginPublic
      @CodinginPublic  3 месяца назад

      Good to hear! I need to try this again!

  • @fernando_her85
    @fernando_her85 4 месяца назад +1

    My issue with bun, is that is mainly maintained by Jared, (just one person)

    • @CodinginPublic
      @CodinginPublic  4 месяца назад +1

      That’s a fair take. He’s obviously gifted, but node is such a diverse set of contributors it had a much better distribution of support.

    • @fernando_her85
      @fernando_her85 4 месяца назад

      Yeah, don’t get me wrong, Bun is amazing; however, pnpm, ftw!

    • @sebamarin12
      @sebamarin12 3 месяца назад +1

      Hola Fernando, opino lo mismo acerca de Bun, me parece increíble pero no me da la confianza necesaria para llevarlo a producción, prefiero manejarme con pnpm en prod.

  • @puppup5575
    @puppup5575 11 дней назад

    everyone is talking about bun...
    *videos of bun devs*

    • @CodinginPublic
      @CodinginPublic  10 дней назад

      lol to be fair, this video was from a while ago.

  • @devgauravjatt
    @devgauravjatt 6 месяцев назад +1

    Your vs code theme????

    • @CodinginPublic
      @CodinginPublic  6 месяцев назад

      Material community Palenight high contrast

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

    This looks cool and have been meaning to try Bun for ages. I hope you do a Astro video using it. Or even better have it in your Astro course 😉

  • @JenuelDevTutors
    @JenuelDevTutors 4 месяца назад

    pnpm?

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

    Bun is an excellent package manager, but unfortunately I can't use it as a runtime for my projects (yet). Bun can initialize, for example, Astro and Solid Start projects, install dependencies very fast, but it still runs Node.js under the hood when I run `bun run dev`.

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

      Huh, really? How do you tell? I must not understand how this works.

  • @Muhammed-nani964
    @Muhammed-nani964 Год назад

    Time to try this for express I guess

    • @killerdroid99
      @killerdroid99 9 месяцев назад +2

      Forget express (jokingly) try ElysiaJs

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

    I think you need to use the --hot flag to enable hot module reloading with bun though

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

      Oh, really? Mine seems to be working without it?

  • @iogilarb
    @iogilarb 6 месяцев назад

    can i use bun+elysia+astro?

    • @CodinginPublic
      @CodinginPublic  6 месяцев назад

      Should! Elysia is basically just a modern express with bun, right?

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

    I can't get it to work, I've tried tried using both the official astro and bun guide but nothing happens when I try to start dev server.

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

      Hmm...I haven't had trouble with it. It may be worth posting in their Discord channel? Lots of super smart people in there who are great a helping debug problems.

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

      @@CodinginPublic solved it! Updated npm to latest version and that did the trick 🙂

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

      Oh, interesting! @@nielslytzdk

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

    Switched to Bun and images stopped working, alt captions are displayed instead. Do you have any idea why that could be?

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

      I think you have to install sharp if you’re using Astro image

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

      @@CodinginPublic It is installed. But I've heard that there were some incompatibility issues with sharp

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

    Broooo, having problems with npm wasting me the whole day(bc of bad connection) this looks no brainer to switch to

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

      seriously…the second this is supported by your hosting partner go for it!

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

    Bun is not for production, in fact local testd showed that nodejs is faster

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

      Bun definitely still has a long way to go before it’ll be a genuine alternative, but it's exciting to see another option in the space. I think it'll push the whole industry forward!

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

    I can't ... Windows

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

      Ah! Didn’t realize the package manager is currently only for macOS! bun.sh/docs/installation