map & mapTo operator of Rxjs | map operator in Angular

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ม.ค. 2025

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

  • @danny24_24
    @danny24_24 4 ปีที่แล้ว +1

    I liked this a lot. Very practical examples. I feel like a lot of tutorials don't use real enough examples to make it easy to see how you would use this in a real world situation. Great job!

  • @sonnysonny66
    @sonnysonny66 3 ปีที่แล้ว

    this by far best rxjs angular example

  • @RichFinelli
    @RichFinelli 4 ปีที่แล้ว +5

    Nice! I never knew you could put "console.log" without calling the function i.e. console.log() and providing arguments i.e. console.log("my log ", value);

  • @JuniorDevCH
    @JuniorDevCH 2 ปีที่แล้ว

    thank you very much! This is exactly what I was looking for !!!

  • @kedarkm457
    @kedarkm457 4 ปีที่แล้ว

    Amazing, you explain it very well with good real world examples, Please keep up the good work :)

  • @rajkumarmandala742
    @rajkumarmandala742 3 ปีที่แล้ว

    Awesome Explanation bro..Thank you :)

  • @HemantPawar
    @HemantPawar 3 ปีที่แล้ว

    Nice explanation

  • @ІванХлиста-б1ч
    @ІванХлиста-б1ч ปีที่แล้ว

    Thanks a lot for your explanation! But it is still curious, why do we receive an array inside our rxjs map after api call, which we must map another time to get the requested list of objects. In the docs we have a following example - const source = from([1, 2, 3, 4, 5]);
    const example = source.pipe(map(val => val + 10)); So why do we get a number as val here and an Observable array as res instead of an object on the 60-th line? Did I miss smth?

  • @themysteryman-e2j
    @themysteryman-e2j 4 ปีที่แล้ว +1

    Hi, can you make a separate playlist for RXJS and observables in angular from scratch?
    It would be much useful.
    I'm pretty new to angular.
    I feel it difficult to understand those topics.
    Appreciate your hard work.
    Thank you.

    • @FunOfHeuristic
      @FunOfHeuristic  4 ปีที่แล้ว +1

      Thanks for the comment, I have a playlist for observable and Rxjs Operators, please check if you need some thing else or some other way please let me know, it will be great help to all.

  • @LukaReeson
    @LukaReeson 3 ปีที่แล้ว

    What about if your Http get response is just one single object with many fields (also nested fields). Can you use the same map method to "extract" only the fields you want? Cheers for the video!

    • @FunOfHeuristic
      @FunOfHeuristic  3 ปีที่แล้ว +1

      Yes, map operator is made for that purpose.

    • @LukaReeson
      @LukaReeson 3 ปีที่แล้ว

      @@FunOfHeuristic Cheers, it's working now.

  • @AnmolFellas
    @AnmolFellas 3 ปีที่แล้ว

    Sir can You tell me How can i change my all completed items to false ??

  • @vj-angular
    @vj-angular 4 ปีที่แล้ว

    Very useful...

  • @sankhyesh
    @sankhyesh 2 ปีที่แล้ว

    how to get the value with in value let say there is another embeded inside the api

  • @SebastianLaclau
    @SebastianLaclau 4 ปีที่แล้ว

    Muy bueno!

  • @angulardesign7412
    @angulardesign7412 4 ปีที่แล้ว

    agar mera data server se aa raha hey like this [{somedata:"data"}] if i used map like this .map(res=>res) then res me pura array ayega [{somedata:"data"}].

    • @Venkateshmahendru
      @Venkateshmahendru ปีที่แล้ว

      data pura aye but filltered columns will come.

    • @FunOfHeuristic
      @FunOfHeuristic  ปีที่แล้ว

      Array.map and rxjs map alag he, if tum array.map use karoge then array ka object ayega { }, and agar tum res main pipe(map()) karoge to pura ayega [{ }].

  • @InCircle
    @InCircle 4 ปีที่แล้ว

    Bhai Accent kion maar rha Hai ? 😂 Baki sab Theek Hai

  • @johnfernandes455
    @johnfernandes455 3 ปีที่แล้ว

    confusing