map & mapTo operator of Rxjs | map operator in Angular

Поділитися
Вставка
  • Опубліковано 11 вер 2024

КОМЕНТАРІ • 29

  • @alan614
    @alan614 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!

  • @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);

  • @sonnysonny66
    @sonnysonny66 2 роки тому

    this by far best rxjs angular example

  • @JuniorDevCH
    @JuniorDevCH Рік тому

    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 :)

  • @user-pp1oc7kc9r
    @user-pp1oc7kc9r Рік тому

    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?

  • @HemantPawar
    @HemantPawar 3 роки тому

    Nice explanation

  • @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.

  • @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...

  • @LukaReeson
    @LukaReeson 2 роки тому

    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  2 роки тому +1

      Yes, map operator is made for that purpose.

    • @LukaReeson
      @LukaReeson 2 роки тому

      @@FunOfHeuristic Cheers, it's working now.

  • @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 11 місяців тому

      data pura aye but filltered columns will come.

    • @FunOfHeuristic
      @FunOfHeuristic  11 місяців тому

      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 3 роки тому

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

  • @johnfernandes455
    @johnfernandes455 3 роки тому

    confusing