Angular v19 is out!... and it changed my apps (significantly)

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

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

  • @JoshuaMorony
    @JoshuaMorony  2 дня назад +4

    Join the newsletter: mobirony.kit.com/4a331b9076

  • @julienwickramatunga7338
    @julienwickramatunga7338 2 дня назад +2

    As a happy owner of your course, it'll be my pleasure to read this nice update!
    Thank you Joshua for your dedication and for your high quality content 😊

  • @ferlezcano
    @ferlezcano 2 дня назад +8

    Joshua, your Angular course is amazing and the fact that you update it regularly is even better! 💪

  • @rtpHarry
    @rtpHarry 2 дня назад +2

    I was a just about to have finished that course, seems like i have more work to do.. 😅

  • @zero14111990
    @zero14111990 2 дня назад

    those changes are savage XD

  • @rtpHarry
    @rtpHarry 2 дня назад +11

    Im partially reluctant to learn signals just because its taken so long for me to finally get used to rxjs haha. I guess ill have to make the leap at some point.

    • @ferlezcano
      @ferlezcano 2 дня назад +4

      Same here... I saw so many videos from Joshua and when i finally lernt enough to work with RxJs, signals comes out...

    • @nickbstudy5462
      @nickbstudy5462 День назад

      I can't recommend them highly enough; they're not too overwhelming to learn, and they make life so much easier and more responsive. Definitely worth the time investment to learn and start using them 👍

    • @becom1ng
      @becom1ng День назад +1

      Rest assured that Signals are incredibly easy compared to RxJS.

    • @rtpHarry
      @rtpHarry День назад +1

      @@becom1ng it's not the difficulty of signals it's the amount of time I put into rxjs! It's hard to abandon something that was so difficult for me to start to feel at home with... 😅

    • @larshanisch
      @larshanisch День назад +1

      Learning signals is not about getting rid of rxjs. The combination of both is what you want. Signals for state and observables for events.
      So I encourage you to go that route. It's worth it.

  • @trimalakismeno
    @trimalakismeno 6 часов назад

    was close to finally learning rxjs and now this comes out, imo the frontend syntax is insane compared to spring for example which is more intuitive, I understand nothing from what Joshua is showing

  • @sudosai
    @sudosai 2 дня назад +2

    Currently working with angular 8 💀
    why am I even here? 😭

  • @nemuel9205
    @nemuel9205 2 дня назад

    Technically, is it possible to create a function or something else that allows you to have the functionality of a subject (action/event) and return a signal ?
    A new function in ngxtension Subgnal

    • @JoshuaMorony
      @JoshuaMorony  2 дня назад

      Not really, you will run into the same fundamental issues once you convert it to a signal. If you have the Subject itself accessible, you can use that if necessary for events/actions. If you have some function that just returns a signal then it's the same problem where if you try to use that signal to react to events/actions then some may be missed.

    • @nemuel9205
      @nemuel9205 День назад

      @JoshuaMorony Having a function that returns both a Subject and its toSignal would be a game-changer for Angular developers. It would streamline the process of working with reactive data streams and provide a more consistent API for handling both Subjects and signals.

  • @agd99
    @agd99 2 дня назад +2

    Question: in your LoginService why do you define a ‘login$’ subject and also define a corresponding toSignal? Why not just have the signal and set it directly?

    • @JoshuaMorony
      @JoshuaMorony  2 дня назад +6

      This would actually work in this case, but the danger of using signal sets as a mechanism for "actions" is that they can miss actions/events due to the way effect scheduling works/signals not being designed for event handling generally. I'm not really 100% sure where I stand on this at this point, at the moment I'm leaning to using Subjects to represent all actions even though it isn't technically required in every case (I figure that's better than having surprising cases)

  • @MrEliteXXL
    @MrEliteXXL День назад

    Why the ominous soundtrack? ahaha

  • @bullettime2808
    @bullettime2808 2 дня назад +1

    Still no fast refresh 😑

    • @eneajahollari1203
      @eneajahollari1203 2 дня назад +3

      HMR should be there. For CSS and external templates, not inline ones.

    • @bullettime2808
      @bullettime2808 День назад

      ​@@eneajahollari1203the current setup is far from ideal, in the React world with Vite the refresh happens in real time and maintains state, I really hope that the Angular team gives this issue the highest priority since it's a deal breaker for anyone who has used React

  • @TheSysmat
    @TheSysmat 2 дня назад

    v 19 is out and break all my tests and apps, it work fine in v 18, ng update no migrations

  • @BenjaminFavre29
    @BenjaminFavre29 День назад +1

    Why would anyone inflect angular on themselves at this point ?

    • @rtpHarry
      @rtpHarry 20 часов назад

      @@BenjaminFavre29 what am I missing with another framework? (Serious question, I decided not to flip about learning bits of all frameworks and just focussed on this one because back when I started it was the only one that ionic supported)

  • @codeitlikemiley
    @codeitlikemiley 2 дня назад +2

    Its hard to keep up with all the js frameworks lol, I rather go all in with Rust ... in front-end and backend... LOL