ReactJS Tutorial - 36 - Render Props (Part 1)

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ก.ย. 2024
  • 📘 Courses - learn.codevolu...
    💖 Support UPI - support.codevo...
    💖 Support PayPal - www.paypal.me/...
    💾 Github - github.com/gop...
    📱 Follow Codevolution
    + Twitter - / codevolutionweb
    + Facebook - / codevolutionweb
    📫 Business - codevolution.business@gmail.com
    Render Props in React

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

  • @ankitsethia6534
    @ankitsethia6534 4 ปีที่แล้ว +10

    Just hats off to a tutor like you. People seldom get across tutors like you. You explain complex things in a very clear and practical way. You are truly an asset for all of us. Thanks a ton for your efforts Sir.

  • @MaheshKumar-lo7hj
    @MaheshKumar-lo7hj 5 ปีที่แล้ว +2

    I always wait for your videos @codevolution, eventhough there won't be many views. But once anyone listened your videos surely they come back, they listen again and again and they wait for your videos. I am one of them..

  • @tharlinhtet97
    @tharlinhtet97 3 ปีที่แล้ว +6

    Please also make a tutorial of one of React testing libraries like enzymes or react-testing-library. Waiting for more tutorials:)

  • @jgv4945
    @jgv4945 4 ปีที่แล้ว +3

    If u only just watched the three videos on HOC,
    you wanna skip to 3:50 , since the setup is identical.

  • @krishnachaitanya7349
    @krishnachaitanya7349 4 ปีที่แล้ว +6

    Do this tutorial have Routing Concepts discussed? Please let me know the number, I am unable to find it

  • @saitejajonnadula
    @saitejajonnadula 4 ปีที่แล้ว +2

    hey buddy, useful concept with live example.

  • @akashsrivastava8226
    @akashsrivastava8226 4 ปีที่แล้ว +33

    why does it feel like Dejavu

  • @ahmedmohamed-vl7fj
    @ahmedmohamed-vl7fj 3 ปีที่แล้ว +1

    Thank You bro for this great work I really appretiate your work is really excelent

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

    I truly appreciate your teaching style.
    By the way from a viewer perspective i think there is no need to repeat the safe stuff,
    You could have just said, "there is a another way of sharing the same functionality beetween component" and continue with the part two.

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

    note to people watching this : Skip this particular video completely and go to part 2 if you have already watched the higher order components videos.

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

    Excellent explanation...

  • @Aditya.Santra
    @Aditya.Santra 3 ปีที่แล้ว

    Amazing Video

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

    Thankyou

  • @sivakirankakileti
    @sivakirankakileti 4 ปีที่แล้ว +2

    Why don't we bind onClick event in the constructor ?

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

      Because the incrementCount() method is an arrow function. Arrow functions inside a class automatically get bound.

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

      Got it. Thank you Dino Cajic

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

      @@dinocajicwe can bind with 4 method bro here we use arrow fucntion so that why we don't need to bind it

    • @明瞭-x2s
      @明瞭-x2s 4 ปีที่แล้ว

      Class No.14 had introduced the binding concept and its methods.

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

    Is this concept of passing data from child component to parent component ?

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

    you did the same thing what you did for the video before HOC. So you could have referred from that only.

  • @m.k.rajankali3834
    @m.k.rajankali3834 ปีที่แล้ว

    your videos Fundamentals on class componend based plzz update functional componend

  • @manee427
    @manee427 2 ปีที่แล้ว +1

    Thanks Please make a video about simple login logout implementation in react side . That will be very helpfull.

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

    Great example thank you!

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

    You are best

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

    Any problem in using const count = this.state.count; in render method instead of const {count} =this.state ???

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

      Adhere to standard practices since your code will be read by other developers in your workstation. Stick with the latter.

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

    this video: why need the render props
    the code is same as the part HOC 1

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

    Instead of duplicating this video you could have asked us to refer the hoc video lol,

  • @analizamisljenja5495
    @analizamisljenja5495 5 ปีที่แล้ว +11

    2:10 ●━━━━━━━━━━━ 4:50
    ⇆ㅤㅤㅤㅤ◁ㅤㅤ❚❚ㅤㅤ▷ㅤㅤㅤㅤ↻

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

    4:04 another requirement of client

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

    is it necessary to write const (count) = this.state , as you have done in 2:06? i think it might work without that too.

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

      He is destructuring..it might be done with it I guess, but destructuring is god for code readability.

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

      You also can write like const count = this.state.count (if you really do not want to use destructuring here)

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

    const RenderPropsPart1 = withNewIncrementNum(HOCPart1) :D :D :D

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

    Which extention you use for snippets?

    • @usamanaseer3526
      @usamanaseer3526 4 ปีที่แล้ว +3

      ES7 React/Redux/GraphQL/React-Native snippets

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

    this one is meaningless...

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

    copied

  • @janhrdy3444
    @janhrdy3444 5 ปีที่แล้ว +1

    Briliant !

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

    great work!!! Excellent explanation!!!

  • @humzamalik439
    @humzamalik439 3 ปีที่แล้ว +2

    duplicate video

  • @franciscogallardo9499
    @franciscogallardo9499 5 ปีที่แล้ว

    Why allways remove "export" ?

    • @sarunmaharjan4440
      @sarunmaharjan4440 5 ปีที่แล้ว +16

      if you export with the 'export' then you're bound to use the same name of class component where it's implemented;
      { someComponent } from '../SomeComponent'.
      if you export as default, you can rename it to whatever you like;
      changedNameofSomeComponent from '../SomeComponent'

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

    Thanks