I Tried Astro Build and I LOVE IT - 5 Reasons You Will TOO!

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

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

  • @TomHermans
    @TomHermans 2 года назад +20

    Into Astro from the beginning and it's just what the web needs. I couldn't decide between NextJS and Eleventy but this sits just right in the middle. The opt-in JS is and the built-in methods for when to load it, makes it just great. The fact you can use other JS libs and even mix them makes it even better.

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

      Yeah the balance and flexibility it offers is pretty incredible!

  • @himabimdimwim
    @himabimdimwim 2 года назад +15

    Wow, Astro is a meta-framework. Literally anyone can migrate to it, react, angular, ect. Great for performance, keeps JavaScript tight and responsible, awesome for static pages. The required JavaScript knowledge is minimal. This is fantastic for beginner WebDevs!

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

      I'm definitely enjoying it. I just migrated my personal site to Astro

  • @DreamingDolphing
    @DreamingDolphing 2 года назад +31

    I liked Astro even before it became mainstream and Traversy released a crash course.

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

      haha yeah I need to go watch his video!

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

    Thanks for clarifying the highlights of Astra so clearly...

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

    Tailwind support ftw! well-documented in the docs too!

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

    Astro is really amazing. With Astro and TailwindCss you can build static Websites so fast. And the Websites by themselves are so fast too. I'm lovin it

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

      Yeah it really is amazing. The adoption for me has been so smooth!

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

      @@JamesQQuick Absolutely. It's so easy to use existing components from other Frameworks

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

    I feel Astro is exactly what I need to replace a deprecated PHP app at work. More Astro tutorials are needed so it's easy for people to simply jump in and create a web app.

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

    I’m looking forward to hooking this with Django! I know it’s content forward but I would love to see it take over for app forward too.

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

      Do you mean to only use Django for an API? Because Astro will want to be the thing that handles generating the HTML and routing, and I'm not sure it will work just slapping it on top of a Django app

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

      @@IainSimmons yep! With the REST api.

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

      just curious why not a minimalistic one like FastAPI or Flask instead if just for APIs?

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

      @@zactamzhermin1434 because I’m not familiar with Flask or FastAPI yet

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

      @@denniswenrich6221 ah i see, thanks for the reply, just wondering if it was advantageous to use django

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

    It looks great! Gonna have to migrate my blog to Astro too. Um, well, my LiveJournal. That I haven't used since 2013. But apart from that, I'm go go go!

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

      Haha yeah my gatsby site is several years old at this point. I just started with Astro from scratch

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

    I think I might give Astro a try. I like all the benefits for blogs.

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

      Let me know what you think :)

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

    I think my ideal front end would be astro with svelte 90% and 10% react (library support)

  • @732brudder
    @732brudder 2 года назад

    Sweet! Loved the live stream. Been waiting on the video!

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

      Yeah it's been so smooth. I love it!

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

    So this might be useful for importing mark-ed down Obsidian notes and generating a static site?

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

    yup, I liked it too, I will use this framework for future projects

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

      I'm redoing my personal site now!

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

    Didn’t go too deep into it but first look seems really cool. Thanks for this video. Do you know docusaurus? It seems to compete with Astro with markdown files. Would be cool to have a video on it. Thanks again for your content and for sharing your knowledge.

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

      I haven't used Docusaurus but I've heard good things. Maybe I'll do a video sometime!

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

      @@JamesQQuick Hi all! A few months back I built a documentation site using docusaurus. While it is fantastic at displaying documentation resources, it doesn't quite have the flexibility for me to consider using it as a blog or anything else. It is the best framework for documentation, and that's it.
      Astro seems perfect for personal sites though. I'm a big fan of the island architecture.

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

    nice summary of astrio thumbs up subscribed...

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

    I am running my personal blog using their official Blog Starter Kit actually :D super cool :D

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

    Interesting, but static really. The islands arch probably works in some instances so I was surprised to see svelte integration as svelte is about reactivity and dynamic. i cant quite see how the integration would work. Im looking for an alternative to Sveltekit as the recent breaking changes are not encouraging so perhaps Astro might suit some projects and Ive read maybe Remix might be an option?

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

      I think those are all really good options!

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

    I'm sorry to say this, but Astro is making more sense of the core frameworks than some of the associated "meta-frameworks" are doing themselves.
    I'm looking at you sveltekit.
    I love Svelte (and Vue too), but man Astro is improving it for me without introducing so many crazy hooks and verbosity.
    I feel like Astro is doing an amazing job and people will recognize that very soon and some of those "meta-frameworks" will have to take a step back and rethink a lot of things.
    At least that's what I'm hoping, untill then, Astro all the way!!

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

    When to use Astro files, and when use React (or othe framework) files?

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

      I use Astro files by default until I need some JavaScript reactivity!

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

    I’m liking it so far but sometimes having to do a lot of fighting with the way vite bundles things. E.g. try adding the swiper package in solids.

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

      I used swiper in a react component in astro.

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

    Sounds awesome. Rather than using markup for the data, can we use an API to pull in data from a CMS like contentful?

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

      Yes you can! docs.astro.build/en/guides/data-fetching/

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

      Absolutely!

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

      Finally got around to trying it. Brought in Contentful data. Super easy!

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

    Great video James!

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

    So no Gatsby anymore? Why don’t you like it?

  • @ste-fa-no
    @ste-fa-no 2 года назад

    I'll absolutely give it a try

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

      let me know what you think!

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

    hi James! great channel, love it! I have a question about how to deploy astro ssr with node adapter. I always use pm2 to deploy node apps, but how astro deploy production ssr?

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

    I'm waiting for a "I tried Qwik and I love it" video.
    The truly next gen framework that gets you the fastest websites/apps...period. You would need to work directly with web assembly to beat this framework. And it takes hydration to it's full potential.

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

      So many amazing frameworks out there!

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

      @@JamesQQuick It's the only Resumable framework out there right now...that goes way beyond hydration.

  • @lindat.7097
    @lindat.7097 Год назад

    Hi James, thanks for your videos! I'd be very interested in how to make a contact form (without netlify etc) in Astro. Did you make one already? A tutorial about htat would be a dream!

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

    My understanding: Power of Django/Laravel + Smartness of Node.js = Astro.js 🔥

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

    Thats really cool, i am really enjoying using Astro. the SSG layout templating is good for make landing page etc, and the SSR just like NextJS, but you can use anything. I am trying to put React, Vue, Svelte component in on page. Haha cool

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

    Great video! can you please create one about Qwik vs Astro?

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

    I heard w solid+astro it is actually possible to share state between islands

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

      I believe so? I haven't done it myself, but you can use Svelte stores for example so I think so

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

    Great introduction. I'm encouraged to try it instead of my next project instead of Next.js project. Just wondering how to deal with cookie management in Astro?

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

    Is it a template engine like EJS, PUG, HANDLE BARS, Jinja ( for python) ?

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

    What was the npm package you use to embed a youtube video in your post shown at 4:55?

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

    Hey @James Q Quick, do you have a course/tutorial on building a Astro project? The little inside of your project/blog seems interesting. If you haven't a crouse/tutorial, do you have something in that regard planned?
    What would be the recommendation when I were about to build a next js website with static sites only. Should I use Astro instead?

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

      If you're doing static, especially if you're using Markdown, I highly recommend Astro. I'm actually thinking about planning an Astro course early next year!

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

      ​@@JamesQQuick Thank you for the answer, I'm looking forward to :)

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

    Is astro not reload page like vue or not?

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

    I will use Astro for my next pet project. I am looking at how this framework is growing.

  • @coding.carson
    @coding.carson 2 года назад

    How do you get syntax highlighting to work?

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

    So it's like Jekyll?

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

    Trying Astro for the first time, I think its missing something like 11ty Fetch plugin to cache the requests, because in dev, you will see data fetches on component refreshes. That could really hit your monthly api limits on some plans. Or am I missing something?

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

      I haven't noticed that myself. Definitely something to look into!

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

      @@JamesQQuick Well the good news I did a quick test and used the @11ty/eleventy-fetch plugin in an Astro component. We're caching requests now baby!!

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

      @@skullyonutube Ah soo cool! Love how easy it is to integrate stuff into AStro!

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

    So struts again?

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

    how does hosting compare to Nextjs?

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

    So, is it another static site generator (it looks like)?

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

    Repeat after me: I really ❤Astro

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

    i also love it. astro is really cool

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

    I wish I could see someone finally hyping the Phoenix Framework. It deserves it more than another js framework 😁

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

      Miért?

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

      @@peter042 Brad Traversy csinált egy crash course-t az Astro-ról. Utána megjelent ez a video. Most minden web dev youtubernek csinálni kell erről videót, hogy le ne maradjanak a többitől. Szóval megint egy újabb hype. Most inkább szívesebben látnék Phoenixes tartalmakat, mert abból amúgy sincs sok és jót tenne annak is egy kis hype. :)

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

      @@laszlobalassa8411 köszi a választ:D

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

    Ohh.... WoW, another framework. F. this! Im sticking to my Angular and you guys have fun with your toy projects.

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

    How does it deals with jquery. I will like migrate some template with lots of jquery

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

      Easy, you take jquery and put it in the trash can.

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

    Great.

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

    I need a 30 second Short of this because I am very lazy, or busy, not sure which one it is.

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

      Check the video by fireship

    • @Human_Evolution-
      @Human_Evolution- 2 года назад

      @@Parajulibkrm is goated.

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

      I also did a 1 minute version on RUclips shorts :)

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

    It's just another bloody technology to learn. Fed up with it!

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

    Eleventy?

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

      I've heard good things about that too!

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

    🥳🥳

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

    so it's Hugo?

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

      exactly, some years ago i did the same thing, generating static content with hugo and manually place vuejs into the code which took part of the dynamics. With this framework its just more comfortable to work

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

      @@shalimkhan1986 generalization doesn't help your reasoning.

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

      I think that's an oversimplification. I imagine there is a lot of overlap in benefits, but this is in the JavaScript ecosystem. Also the flexibility of when/if to ship JS to the browser doesn't come with Hugo? The islands architecture? Sure, there are similarities but the devil is in the details.

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

    You mention soo many frameworks, yet never mention Angular, why is that?

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

    "If you're writing a blog or other forms of content". Creator bias. Like how the tandy 100 got rave reviews because it was awesome for... journalists but no-one else. Step outside, think of your audience.

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

      So may audience doesn't do blogs? My audience has no use for makrdown content? That seems much more close minded than me showing an option for people and explaining the use case. Just me though. Thanks for the feedback and watching.

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

      @@JamesQQuick not nearly as many bloggers as you seem to think.

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

      @@jeremykothe2847 Point still stands. If you're not interested, there's nothing wrong with that.

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

      @@JamesQQuick Point still stands. Nothing wrong with thinking that something that is important to creators is important to everyone. Just good to be aware that it isn't.

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

      @@jeremykothe2847 It's also good to be open minded and not think that everyone thinks like you do, instead of having a closed minded attitude. There are plenty of blogs on the Internet still.