[EN] 3 Rules for Successfully Using Signals in Angular

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ก.ย. 2024

ความคิดเห็น • 12

  • @ManfredSteyer
    @ManfredSteyer  14 วันที่ผ่านมา +1

    Angular Architecture Workshop:
    www.angulararchitects.io/en/training/advanced-angular-architecture-workshop/

  • @helloworlditsworld
    @helloworlditsworld 5 วันที่ผ่านมา +1

    Don’t tell my wife but I seriously love you man! Haha thank you for the content and information

  • @alexander.thalhammer
    @alexander.thalhammer 9 วันที่ผ่านมา +1

    We're here in Styria -> we're distilling everything 🤣🤣🤣

  • @erikkerkhoven2631
    @erikkerkhoven2631 วันที่ผ่านมา

    Nice!!

  • @philippjohn555
    @philippjohn555 13 วันที่ผ่านมา +1

    Nice talk as always.

  • @superduper1211
    @superduper1211 14 วันที่ผ่านมา +1

    awesome . thank you for sharing

  • @LarsRyeJeppesen
    @LarsRyeJeppesen 13 วันที่ผ่านมา +1

    This was great. Love signals, but having to use untracked() heavily lol

    • @ManfredSteyer
      @ManfredSteyer  13 วันที่ผ่านมา +1

      I totally feel you. Using untracked or some wrapper around it like a custom explicitEffects helper or toObservable really helps to see what’s going on and to avoid issues.

  • @stanislautsishkou5632
    @stanislautsishkou5632 9 วันที่ผ่านมา

    Sounds like signals are always a state of data, and it is not possible to make a decision for invoking data change based on data state, the concept of `view = function(state)` is broken in such case.
    Data could not have an intention to be self changed (via `effect`), because behaviour is not a data or state feature.
    Behaviour that based on Action/Event is a missing part of signal architecture

  • @alinghinea98
    @alinghinea98 13 วันที่ผ่านมา +1

    first time I see the injections with # prefix. Is there a convention on why did you write it like that?

    • @ManfredSteyer
      @ManfredSteyer  13 วันที่ผ่านมา +1

      Not really. It’s the official ecmascript syntax (es2022) and I decided to use it in this example. Saying this, the TypeScript private also has several benefits: it’s easier to debug (because it’s actually public after transpiling to JavaScript) and it comes with no performance overhead at runtime (for the same reason).

    • @alinghinea98
      @alinghinea98 13 วันที่ผ่านมา

      @@ManfredSteyer Thanks for clarification :)