Astro 2.0 is Revolutionary! Again!

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

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

  • @yoJuicy
    @yoJuicy 2 года назад +26

    WOW Didnt even know Astro released 2.0! Thank you for the content and starter!
    Congratulations on 100,000 subscribers by the way! Thank you for pushing full stack forward. You have done an amazing job❤💯

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

      Thank you so much!

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

    Nice! I love how your tutorials are very detailed, but at the same time you aren’t trying to explain the meaning of the `p` tag

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

    "Let's get.... right into it!" - Thanks as always Jack. Really appreciate your content and delivery. Excited to check out Astro 2.0. Wishing you and your family the best!

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

      Thank you!

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

    always clear, practical, and concise information I need to get a good overview, thanks!

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

    Jack--this is a great video. Please consider taking a deeper dive into hooking up lunr with Astro. A good search facility is something that any Astro site really needs. My biggest disappointment with Astro 2.0 is that a search facility isn't a first class citizen.

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

    the only channel sounds excited for the most trivial thing. love it.

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

    This is really well done! Thanks for uploading such a polished demo. It was easy to follow (as intermediate dev). One thing I missed in this was a comparison to how one would usually go about implementing such a site and what the tradeoffs are

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

    Jack, thank you 🙌

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

    Great video, Jack! I was checking the repo and the syntax highlighting in markdown is from Astro and not from the 'prose' tailwind class. Check out Astro's markdown docs for it. :)

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

      Thanks!

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

    Yes! Between Content Collections and optional pre-rendering, Astro give you so much power!
    My favorite architecture recently has been "fat islands" or "lagoons"-- coordinating small areas of Client-Side Routing using catch-all routes and frameworks like SolidJS.
    The opportunities for experimentation are endless!!

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

    Ah that CollectionEntry type is neat. Handy that ID is the union of all the IDs.

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

    So Jack is Team Preact now? Great choice! 💜

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

    Astro approves of this message 💚💚🚀👩‍🚀💚💚

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

    I'm glad you took my constructive criticism from your React series seriously and made a steer in the direction of higher quality content. Learning this technology from you despite not having any prior experience is a testament of how much you have grow as a tutor. I'm glad I could help!

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

    Nice!
    Do you have more video with preact ? Tnx

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

      Not a whole lot. To me Preact is largely covered by React. I did look at preact-signals a while back, but I found it kind of gimmicky, so I decided not to cover it.

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

    Awesome!, I love Astro content, thanks you!

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

    Thank you for this video. Its very helpful. Please let me know if we can create Micro-frontends using ASTRO. Like the way we are now able to create with VITE ? Is there a Module Federation plugin available for ASTRO + REACT ?

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

    Hey Jack, you should check out UnoCSS if you haven't already. There's a nice integration into Astro. I'd love to see a video about how UnoCSS is different than Tailwind, I still see a lot of confusion in that area. Great as always!

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

    This is great! Astro has definitely ben on my list of things to check out... My only question is around state management and how people are doing that sort of thing

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

      You can check something like Nanostore and import that store into your components

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

      @@oskrm thanks for the recommendation!

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

    This is another GREAT video! very helpful. At first when I saw this, I was wondering why you didn't use a database. As I have thought more about it, it seems that you could skip the database altogether. That being said, can you author the MDX files and save new ones to the S3 bucket that contains the site?

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

      Not and have it rendered AFAIK. But maybe. I think the CI/CD workflow is more what the framework is expecting.

  • @НиколайКотиков-й4у

    Thanks for the video! Btw what is this terminal with nice autocomplete?

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

      Tabby, but the important part is Fig for the autocomplete.

    • @НиколайКотиков-й4у
      @НиколайКотиков-й4у Год назад

      @@jherr Thank you! I did not even hear about these tools but they are awesome!

  • @HeyWorld-o8j
    @HeyWorld-o8j Год назад

    Can't wait for 3.0 to release in Sept or Oct 2023!

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

      I have it on good authority that 3.0 is coming VERY soon.

  • @sobrevivendo-no-front
    @sobrevivendo-no-front 2 года назад

    Great content, great channel!
    Thanks Jack!

  • @1235niki
    @1235niki 2 года назад +2

    Thanks Jack

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

    Thanks for sharing knowledge man.

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

    Great content as usual!

  • @Dev-Siri
    @Dev-Siri Год назад

    Can you make a video about image/fonts optimizations & self hosting with Astro? @astrojs/image and fonts are a pain to work with.

  • @nil.4
    @nil.4 2 года назад +2

    By any chance, May I know which theme do you use for your vscode. It is elegantly black and less straining to look at.

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

      Check the video description

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

      You are my new favorite person @remothuman6689! :)

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

    Looks a lot like nuxt's content module to me. Seems great!

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

    Was there a reason for not creating an object type with a url width and height for the thumbnail keys?
    I see they all have them...
    Other than that, thank you for the great content you are producing!

  • @134nithin
    @134nithin 2 года назад

    Hi Jack, Great video as always.
    Also I was wondering is that a VS code extension @3:05 which provides intellisense in the terminal? If so what is the extension called??

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

    Hi Jack, thanks for all the great videos. This one is very interesting, especially the combination of Astro and Preact. I will try this next month.
    I now have Arc for my MAC, and I saw in this video, that you have a url bar on top, with Icons for your extensions. I try to find the settings, but I cant. Could you give me a hint?
    Regards Holger

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

      I think that happens automagically when you are pointing at localhost.

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

      It's Arc's developer mode. You can enable it for any page in the site settings by clicking on the lock icon in the url bar. Like Jack said it is enabled for localhost by default

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

      @@jesse-aubin Thanks.

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

    I don't quite get Astro now. I can use React, Preact, NextJs etc. inside Astro. Can I still add headers to my pages to add a page title and meta descriptions for SEO?

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

      Yeah, absolutely. Lots of ways to do that. Check the astro docs.

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

      @@jherr Great, thanks!

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

    How does translations work, if I try to deploy it on vercel i getting an 500 error, instead of an 404 page localy it's working

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

    but why not use just a cms where you edit/manage your collections? only way to update your collections is to add files und rebuild + redeploy right?

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

      With a decent CI/CD that's really not an issue at all. You add or update files (you can even do that directly on the GitHub UI), check it in, CI/CD spins up and deploys it within a minute (depending on the site size). It's even automatically versioned. For a lot of sites that is way more than adequate. It's certainly fine for my RUclips site.

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

    Love this channel

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

    Still getting my grasp with Astro 1, and now version 2 is out - lol

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

      It's just more features.

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

    Great video
    Would love a svelte/sveltekit video

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

      It's gonna happen. Soon. The sveltekit forms stuff is great!

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

      @@jherr suggestion: A registration form with realtime errors when with javascript enabled and submit errors when javascript disabled, made one recently and the use:enhance makes it so easy

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

    how can I add translations to astro project?

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

    can anyone tell me what is it stands out from *Solid js*

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

      I'm not sure I understand the question, but maybe it's what makes Solid-JS stand out from something like React? Two things Solid-JS 1) is compiled and 2) does "fine grained updates". The compiler sees the changes your code makes to the DOM as a result of data changing and just writes the code to make those changes. No more, no less. So Solid-JS apps are spectacularly small and fast.
      It's like if jQuery and React had a baby, that baby would be Solid-JS. But better and faster than mom or dad. Hahaha.

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

      Astro also has a client:visible hydration option that does a similar thing to Solid - essentially lazy loading JS as it comes into view for the client. So you can build a component in any framework and have it only load the JS for it when someone see's it :)

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

      @@jherr Anything involving jQuery would mean birth defects bigtime :)

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

    Thanks for your great content

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

    I think you should try a vscode extension called Astro Snippets

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

    IT IS??!! 🤯

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

    Astro also works with Angular (because of the new standalone components). So modern stuff like Observables etc can also be used.

  • @whoisthe.l
    @whoisthe.l 2 года назад

    so, when prerender = true, that page become static?

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

      statically site generated yes. islands still work.

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

    authentication?

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

    hmmm its going to be a fullstack framework too?

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

      It is already a full stack framework

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

      @@jherr nice i'll try Astro

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

    I have to catch up with JS technologies. I am stucked with React and there are so many cool FW like Remix, Astro, Svelte, Next.js etc... Huuuh, 2023 will be a busy year.

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

      THe problem is that most React developers are noobs and they tend to get stuck there.

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

      Remix and NextJS are built on top of React, so you have to use React in order to use them. You can also use React in Astro.

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

    what r the ways to fetch data from api? like ur channel youtube videos? instead of giving those videos manually???
    Also, u created all the content mdx file manually???

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

      I have a script that reads the RUclips API to grab the new videos.

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

    Oh great am I supposed to learn ANOTHER frontend framework now?

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

      It's a meta-framework really.

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

      I've used it both with Angular and React. It's not frontend framework locked (like Next)

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

    why not use a LLM to search for you?

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

      Yeah, good point!

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

    this is dope

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

    Anyone else find Nextjs just easier to work with?

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

    WOW! The invented static site generators! 🤦

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

    this content was so fast hahah

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

    astro seems much slower than eleventy (big site building time)

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

    For me all of this frameworks are terrible. Too much coding. There is no need for static typing for User interface. "Square peg in a round hole" is what these people are doing.
    We all know we want simple framework. quick flat dumb down component.
    All of this design has weakness so they will keep changing every few month. Not usable for any projects.
    I dont like reactjs ... i just dont like to type so many lines of code for simple task
    I may take a look at svelte and vuejs.

  • @Sj-yf2jg
    @Sj-yf2jg Год назад

    php developers are laughing 😂

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

    Hi Hello... redo this site you made using simple HTML, CSS and JS

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

      Is this a demand or something?

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

      @@jherr 😂👍 keep up the good work. Loving your Astro content!

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

    I hope Astro fails. Now we have to use another lame obscure and proprietary templating language for .astro files. At least JSX feels like an integrated extension to JavaScript and TypeScript instead of some bolt-on macro preprocessor. Astro reminds me of crap like the C preprocessor. I've moved on from these lame template frameworks. Let's not go backwards to ".astro" files.

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

      Astro ships zero js by default. You don’t need/want JSX for many Astro sites because you don’t need JS. Using astro is basically building a static site in .html files, but astro makes that much easier by being able to make reusable components/layouts and opt it to vanilla js where you need it, or bring in a full framework. It’s really not some complex new “obscure and proprietary templating language”, it’s just html with better DX.

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

      This is a strange comment because their templating language was designed very close to JSX.

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

      How about just not using it if you don't like it?

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

      This just shows you are a noob, stuck with React. It was probably the first thing you learned, and is probably why you cannot move to more advanced stuff

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

    Your eyes be like 😳

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

      @jackherrington311 what do you mean? who needs that? you or me?

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

    I love your content @JackHerrington but sometimes you go too fast