React Native Tutorial #8 - Touchable Components

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

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

  • @osamagamal495
    @osamagamal495 4 года назад +28

    -What is React-Native?
    -It's a bunch of built-in Components. :D
    Thank You, Shaun, for these awesome straightforward tutorials.

    • @osamagamal495
      @osamagamal495 3 года назад +1

      Fu*k off with these spams d!ckhead.

  • @JuanDeSouza7
    @JuanDeSouza7 4 года назад +6

    i didn't know that we could pass a function inside the set function of useState. this thengang is so amazing that I learn new stuff with him even after taking 2 react native courses.

  • @redmangoapple340
    @redmangoapple340 3 года назад +2

    you are the best of the best out there, plz keep doing whatever you're doing cause i dont know what I'll do without you.

  • @irfanbaloch2884
    @irfanbaloch2884 4 года назад

    An impressive way of teaching brother...hats off!!

  • @patric_forreal
    @patric_forreal 5 лет назад +7

    I will keep on Saying thank You, to you my Broo For Everything!!!! Big Up Broo
    👍👍👍👍

  • @mk9834
    @mk9834 4 года назад

    Best react native series!!!!

  • @yawningoutside4276
    @yawningoutside4276 5 лет назад +1

    Thank you, ninja! I'd really like to see a tutorial about the best way to pick up a new technology since you have mastered so many. Maybe a generalised version of your methods or plan to get fast on track as a senior developer. Do you just read the documentation? Do you watch any tutorials just like us or you are lead by your intuition ? What type of intuition should a developer develop?

  • @MonicaL.San.
    @MonicaL.San. 4 года назад +1

    Great programming & teaching skills! Thank you for sharing!

  • @pranjaldoorwar9743
    @pranjaldoorwar9743 4 года назад

    Best Teacher in the world !!

  • @30yank
    @30yank 5 лет назад +5

    Hey!
    Thank you very much for these great videos!
    I know you haven't finished the tutorial yet, but you could also consider creating content about the use of animations!

  • @andreivandrummer
    @andreivandrummer 5 лет назад +2

    Thank you very much!
    Ok, i think we need a link to pay the entire course hahaha i cant wait

  • @geoffrey9888
    @geoffrey9888 2 года назад

    A great series but something i would like to point out at 2:55 is that in react you should avoid creating inline functions to avoid performance issues. Its much encouraged to create a child component and pass a value to the child and then pass the onpress callback with id from the child component back to the parent.
    The reason why this causes performace issues is because of how data structures work. It causes the garbage collector to be invoked very often and this will cause performance issues especially when you have components with many state changes.

  • @morezco
    @morezco 5 лет назад +2

    Hey dude, you’re awesome. I don’t know how many appreciation comments you get, but I’m sure it’s not enough.

    • @NetNinja
      @NetNinja  5 лет назад +1

      Thanks Guilherme :)

  • @antonio7446
    @antonio7446 4 года назад

    Great tutorial at all! Thank you Ninja!

  • @zahramoosavimirheydari3793
    @zahramoosavimirheydari3793 3 года назад +1

    it was really helpful . thank you so much :)

  • @jackvan7818
    @jackvan7818 4 года назад

    Great Shaun, Best Teacher!!

  • @lebogangmocuminyana2718
    @lebogangmocuminyana2718 4 года назад

    thank you very much
    very helpful. i want to know how do you make touchableOpacity totouch only one list in the array?

  • @AnasAlsayedStudio
    @AnasAlsayedStudio 5 лет назад +1

    Really informative

  • @TheArtofCodeIsCool
    @TheArtofCodeIsCool 4 года назад +4

    Why not just do
    setPeople(people.filter(person=>person.id!==id));

  • @BookOfSaints
    @BookOfSaints 5 лет назад +2

    Is it necessary to use prevPeople or can you just setPeople(people.filter(function here))?

  • @yloibx
    @yloibx 3 года назад +1

    I didn't get prevPeople variable. Where did you define? is it parameter?

  • @michaellesley2146
    @michaellesley2146 4 года назад

    Omggg!!!!!! Thanks! I am from Brazil :)

  • @azimembong2606
    @azimembong2606 3 года назад

    is it the filter method that delete the item that have the same id as the one we click? or we ask the program to return only the item that does not have the same id, as the one that we click? Thank you in advance!

  • @manoj-k
    @manoj-k 3 года назад

    🔥🔥🔥

  • @mostafaSaqr1985
    @mostafaSaqr1985 5 лет назад

    where iis the next videossss ?????? Love it !!!! AMZAAAAZINGGGGGGG.

  • @ehclipse8764
    @ehclipse8764 3 года назад +1

    4:24
    Could we just call pressHandler directly instead of using an arrow function?
    onPress = {pressHandler(item.id)}

  • @davouchristopherpaul-fu6lq
    @davouchristopherpaul-fu6lq Год назад +1

    Simpliy is great

  • @kashishkukreja984
    @kashishkukreja984 4 года назад

    Why can't we directly call the Presshandler function in the OnPress Prop? Why do we have to call an anonymous function first which in turn will call the PressHandler function?

  • @bluevision4800
    @bluevision4800 Год назад

    A question came into my mind is it possible this app can be run on ios and android both ?

  • @gokhankose2443
    @gokhankose2443 4 года назад

    when im click any button i getting this " Error: "setPeople" is read only " , how can i fix this

  • @drtamiz
    @drtamiz Год назад

    In 5:16, how did he just randomly choose the variable name "prevPeople". Where did this variable come from and how does the program now its the previous state of the people variable?

  • @SumitSingh-ui4do
    @SumitSingh-ui4do 2 года назад

    Wow❤️

  • @ashutosh-dv3ty
    @ashutosh-dv3ty 4 года назад

    Can we animate the item removal from the list?

  • @Legend-h4x5d
    @Legend-h4x5d 3 года назад

    NICE

  • @barny1174
    @barny1174 4 года назад

    Hi, I am hoping some kind soul can elighten me,
    prevperson seems very arbitrary. When was it assigned the current person state?

    • @ashutosh-dv3ty
      @ashutosh-dv3ty 4 года назад

      Yeah you don't need it. You can just do setPeople(people.filter(person => person.id !== id));

  • @Only-zeus
    @Only-zeus 5 лет назад

    hello Sr please make a tutorial on sending notification with react native

  • @kunaldeshpande4362
    @kunaldeshpande4362 4 года назад +1

    Why not just use: people.filter(item => item.id !== id); ?

  • @manfredsmertens3885
    @manfredsmertens3885 4 года назад

    What's the name of your VS Code color theme? I want it! haha

  • @walterhugo1908
    @walterhugo1908 2 года назад

    What font is that?

  • @theodorn
    @theodorn 3 года назад

    Thought I might throw this in here, if anybody can help me. I want to change the pressHandler so that if I change a name, it is changed to 'teddos' but the other names remain the same. The emulator now says 'Can't find variable setPeople'.
    const pressHandler = (id) => {
    setPeople( (prevPeople) => {
    return prevPeople.forEach(element => {
    if (element.id == id) {
    element.name = 'teddos';
    }
    });
    })
    }

  • @meocon38ht4
    @meocon38ht4 4 года назад

    i like video

  • @ritikpatil5467
    @ritikpatil5467 4 года назад

    tHANKS XD

  • @tugaybaslk5158
    @tugaybaslk5158 3 года назад

    supppper brother.

  • @lifesmysteriesofficial
    @lifesmysteriesofficial 4 года назад

    4:15

  • @rishavraj3127
    @rishavraj3127 4 года назад +1

    you need to keep ur accent neutral so tht person of every region can understand

  • @vaalarivan_p
    @vaalarivan_p Год назад +1

    4:00