React Native Gesture Handler and Reanimated Tutorial

Поделиться
HTML-код
  • Опубликовано: 19 июн 2024
  • Learn React Native Gestures and Animations at start-react-native.dev/
    This tutorial was inspired by an example built by Paul Henschel: codesandbox.io/embed/j0y0vpz59
    Source code: github.com/wcandillon/can-it-...
    For the boilerplate, simply use the tarot-starter2 branch.
    Two videos to dig further:
    The Heart of React Native Transform - • The Heart of React Nat...
    How to calculate the width of the tilted card - • The Math behind Animat...
    Chapters
    0:00 Intro
    3:44 Build
    22:10 Credits
  • НаукаНаука

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

  • @martinbalke1843
    @martinbalke1843 2 года назад +43

    This is the highest quality tutorial I've ever seen. Been subscribed for a few years and you have seriously leveled up over that time.

    • @Archcorsair
      @Archcorsair 2 года назад +2

      For real, was thinking the same thing. I am glad William takes the extra time because WE DO NOTICE!

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

      Yeah

    • @access2emma
      @access2emma 2 года назад +1

      i'm 100% in agreement with you. I like how he breaks down the whole process from the word go before he started coding. Great work :D

  • @aprilmintacpineda2713
    @aprilmintacpineda2713 2 года назад +12

    Wow this is so good! Perfect approach to teaching! 👏👏

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

    The little preview at the begining of the key code required is super good!

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

    Incredible work as always! Im trying to build a graphic design app and this is the best tutorial I need on animations and interactive components in RN

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

    Amazing work as usual, William. Thanks for another great video.

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

    This is really awesome ! I was really inexperienced with react native gesture handler and I understood everything! Thank you :)

  • @simple-belge
    @simple-belge 2 года назад

    Perfect work as usual William, hurray !

  • @dibayuin7859
    @dibayuin7859 2 года назад +1

    I was following you from 500 subs, right now the video quality is extremly good ♥️

    • @wcandillon
      @wcandillon  2 года назад +2

      Woah thank you for being on this journey with me :) Any tutorial request for me?

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

    O MY God the quality is amazing!!!!! ❤️

  • @hoihoanginh452
    @hoihoanginh452 2 года назад +1

    you are the best react-native coder

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

    It's amazing to see how easy is it to build with reaniamted2.

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

    Nicely done.

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

    Awesome, I guess few changes in the library have been made. Check the final version of this code in the master branch of the repository given by him. 🚀🚀

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

    Video tutorial that is on another level..

  • @SochetraNOV
    @SochetraNOV 2 года назад +1

    I just have an idea about making card animation an hour ago then you posted the video, 😂😂. Anyway can't wait for your amazing next content .

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

    Hi, I am new to react native animation and just started to learn by watching tutorials. May I know how did you practice yourself to be able to build these kind of animations? Can you make a video about your experience and the things you have done to reach this level?

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

    Fantastic, love you videos, I have top app in astrology sphere, will play with your example

  • @thienvan5940
    @thienvan5940 2 года назад +5

    Love it, Thank you for beautiful animation.
    At 24:04 , I see the animation that looked really special. Do you have a video on how to do this?

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

      This is done using triogometry (ruclips.net/video/-lF7sSTelOg/видео.html). I might do a dedicated tutorial on that.

  • @caliwolf7150
    @caliwolf7150 2 года назад +1

    love it!

  • @amindusaputhanthri
    @amindusaputhanthri 2 года назад +1

    Amazing 👏

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

    thank you for your awesome content for react native 👍 could you also make a video about the discord swipe navigation? Could it be done using react-navigation and reanimated?

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

    Awesome as always. William, would you please make a video of how to make the circular theme color change like on Telegram please?

    • @wcandillon
      @wcandillon  2 года назад +7

      this one is 💯 on my radar ☺️

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

    Love it 👏

  • @sreek91
    @sreek91 2 года назад +1

    That intro so sliccc!!

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

    Nicely done. How hard would it be when we swipe card that it goes to the end and we have loop instead of shuffle?

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

    I am currently writing an App for Tarot. Sorry to say I have already done all of this king of stuff and lots more using just Animated. Laying out cards, turning them over and shuffling. Just one question that maybe you could help with.... When I rotateX the cards in perspective and flip them over the back card seems to skew slightly and become visible in the corners. For the life of me I cannot figure out why? I do not use a 'rotateZ'. What is that?

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

    Brilliant, as usual, have a question, have you ever use react native wix navigation? What is the cons?

    • @wcandillon
      @wcandillon  2 года назад +1

      I just love react-native-navigation 🤷🏼‍♂️

  • @jacobcole1271
    @jacobcole1271 2 года назад +1

    Nice!

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

    Amazing video, please make a video about animation like google photos and apple photos, if you pinch and zoom the grid layout will change

  • @sourabhsoni148
    @sourabhsoni148 2 года назад +1

    Hi, I need some help with my expo project,I want to use the Glass Morph effect for Card in my app but the BlurView in expo don't work on android, also I can't use the react-nave BlurView with expo , I love to use expo for all my project and don't want eject out of it. Help🙃

  • @user-op6fk9zg2y
    @user-op6fk9zg2y Год назад

    thank you

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

    Love your accent! Oh, and content :)

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

    Fabulous

  • @n_dudin
    @n_dudin 2 года назад +1

    Need more openGL/webGL challenges!

    • @wcandillon
      @wcandillon  2 года назад +2

      We're about to have a full focus on Skia, so it's one level up OpenGL but there are also shaders and stuff ;-)

  • @arjuno7058
    @arjuno7058 4 месяца назад

    what kind of set up installment I should prepare here? I'm using expo

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

    Hey! these are the awesome that I have ever seen about react native. Would you please make a video on how to make flat list behave like game levels, like candy crush.
    Also to generate dynamic path for game levels in react native???

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

      could you share small screen recording to showcase these behaviours?

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

      @@wcandillon Any other platform where we can connect???

  • @r.h.u.k.a
    @r.h.u.k.a 2 года назад

    William, that's a really nice tutorial, thanks a lot. May I ask you, what are the VSCode plugins that you use?

    • @wcandillon
      @wcandillon  2 года назад +1

      which one exactly?

    • @r.h.u.k.a
      @r.h.u.k.a 2 года назад

      @@wcandillon the VsCode extensions that you use, I got really interested in the one providing the auto-complete xD

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

      @@wcandillon me too... It's seems really cool, and efficient.
      could you share, please?

    • @wcandillon
      @wcandillon  2 года назад +1

      @@r.h.u.k.a it's github copilot

    • @wcandillon
      @wcandillon  2 года назад +1

      @@wanjohi it's github copilot

  • @marjomedved5318
    @marjomedved5318 6 месяцев назад

    Hello I have a problem where elevation does not wrap around Image element when rotateX is used. I am using android.

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

    I'm looking for a way in React Native to pull off a 3D spin animation on swipe (simiilar to the way spinning a pokestop in Pokemon Go interacts on swipe). Does anyone know where I can find a way to do this?

    • @wcandillon
      @wcandillon  2 года назад +2

      could you share a small screen recording of this? I would like to love to take a look

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

      Here is an example. When the player swipes left or right it spins the circle with velocity. The circle keeps spinning with decreasing velocity until it comes to a stop. Thanks so much! ruclips.net/video/trogHBD7Nwg/видео.html

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

      @@wcandillon ^

  • @phuocantd
    @phuocantd 9 месяцев назад

    How to optimize code to work well on Android? Thanks

  • @user-fn4go1ie1k
    @user-fn4go1ie1k 2 года назад

    at 6:40 when I move the block, I get this error `onGestureHandlerEvent' listener to be a function, instead got a value of 'object' type. (((

  • @r_alisher
    @r_alisher 2 года назад +1

    react native best

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

    Can u share to me name extention suggest syntax, pleases

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

    와 이형 개쩌네. :)

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

    In a past life he was himself. If opportunity knocks and he’s not home, opportunity waits. He gave his father…the talk. He is, the most interesting man in the world.

  • @atultiwaree6023
    @atultiwaree6023 10 месяцев назад

    Vs Code theme ???

  • @mixai7
    @mixai7 2 года назад +1

    When I try with expo react native , card cannot move .only work in web view
    const x = useSharedValue(0);
    const y = useSharedValue(0);
    const cardStyle = useAnimatedStyle( () =>( {
    transform:[
    {
    translateX : x.value
    },
    {
    translateY : y.value
    }
    ]
    })
    )
    const gestureHandler = useAnimatedGestureHandler({
    onActive: ({ translationX, translationY }) => {
    x.value = translationX;
    y.value = translationY;
    },
    }) what are missing

  • @kamildoan
    @kamildoan 2 года назад +1

    wuhuuu programming show

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

    Hi ! I'm discovering your channel. Are you French ? Or French native speaker ?

    • @wcandillon
      @wcandillon  2 года назад +1

      I'm french originally but now live in Zürich

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

      @@wcandillon Je me doutais bien que tu étais français. Nous avons un accent à nul autre pareil 😆. Je ne moque pas, j'ai un mal fou à me faire comprendre en anglais. Mais je ne désespère pas 😀

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

      @@ggousier pareil peut etre pour 2022 je met un focus pour ameliorer l'accent :)

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

      @@wcandillon Garde ton accent buddy. Les gens te comprennent c'est le principal. Et puis peut-être que c'est le petit truc en plus de ta chaîne. Le frenchy accent. 😀 La fameuse French Touch ! .

  • @mohdsajidshaikh4291
    @mohdsajidshaikh4291 2 года назад +1

    I am searching a way for crd on deck like 1st one in intro

    • @wcandillon
      @wcandillon  2 года назад +1

      I might do a dedicated tutorial on that. In the meantime, here is a video on trigonometry which will give clues on how to do it: ruclips.net/video/-lF7sSTelOg/видео.html

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

      @@wcandillon thanks.
      You are nice man.
      Btw when will be tutorial for reaxt native skia. I see in Twitter about that

    • @wcandillon
      @wcandillon  2 года назад +1

      @@mohdsajidshaikh4291 hopefully before the end of year holidays, but please keep it a secret 😉

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

      @@wcandillon ok sir

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

    Video Request: Can it be done in React Native? "Google Lens Android App"

  • @stackclever
    @stackclever 2 года назад +1

    First 😎

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

    please do past bottom tab navigators with JavaScript and Reactnative...

  • @codingwithdidem
    @codingwithdidem 2 года назад +1

    second :p

  • @DevendraYadav-sf6ry
    @DevendraYadav-sf6ry 11 месяцев назад

    can somebody plz explain me snapPoint

    • @marjomedved5318
      @marjomedved5318 6 месяцев назад

      what is there to explain? it is a helper function which works like clamp. according to velocityX and drag direction it retuns a value you set as clamp.

    • @DevendraYadav-sf6ry
      @DevendraYadav-sf6ry 6 месяцев назад

      @@marjomedved5318 tysm

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

    Can it be done in react native ? Hey Siri button