Mind blowing animation in React Native and Expo with Animated API

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

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

  • @artmosphereID
    @artmosphereID 3 года назад +30

    wow thanks man, my friend shows me this kind of animation using flutter, and he really underestimate RN. Now i can flex it to him ahahahah

  • @ahmedam77
    @ahmedam77 3 года назад +3

    WOW! I shouted "WOW" loudly once you changed the bg color, and the magic appeared!

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

    Welcome back ! That animation is so dope, thanks for teaching us 🔥🔥🔥

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

    Any concept explained this way, with incremental introduction of code vs explanation is a winner.

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

    Hi! Brazil here! As I'm learning react-native with expo, I ended up falling for your video, which by the way is sensational, congratulations.

  • @lostlost8164
    @lostlost8164 4 года назад +2

    Complicated Animation simply done, Nice job Catalin

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

    you won my subscription with this animation haha, thanks a lot for putting this together

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

    Very helpful, thank you! I have seen code examples of animation before, but watching you as you code and seeing how things change as your code changes makes it easier to understand.

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

    This is great, man. I already had a good handle on animations, but this is next level and still somehow simple

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

      Thanks Jared, for more cool animations you should check my Patreon page, you’ll not be disappointed ✌️

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

    Great! Now i have an imagination of what's possible with animations in RN. Thanx a lot!

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

      Imm glad that you found it useful. Thanks Andre ✌️

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

    This was fantastic! Thank you. Very clear explanation, and super creative too!

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

    Awesome tutorial! Looking forward to completing your other ones too.

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

    That is AWESOME!
    Thank you for the tutorial!

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

    Wow initially it was looking very complicated, in actual its very simple, that's awesome.

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

    So nice animation and really well explained. You won a new sub haha

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

    This guy can animate anything

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

    This Guy Is Just Amazing .
    He Deserves More Subscribers.
    i killed that subscribe button , Keep It Up Man 🔥

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

      Wow, thanks for showing your support Yadav. Thanks a lot ✌️

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

    Now that I saw it i must use it.

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

    Dude, that was good! Really good!!
    I'm gonna now try to use animations like this in a screen/page change.

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

    How did percentage values in tranform translateX work in your code? It's asking for a number value in mine

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

    Really a cool example

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

    Thank you so much for your clear explanations! You helped me so much :D

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

    Thanks a lot for this tutorial, very helpful!

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

      I’m glad that you liked it. Thanks Khouloud ✌️

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

    Great job dude!

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

    Wow! Thank you Sir

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

    Hey I just love your work and i just subscribed you with a bell notifications your content is soo soo valuable
    thanks for the content
    and plz do a video on this complete project as you have in your final project
    please it would mean a lot to me
    by the way
    THANKS MAN!!!! you are DOPE 🔥

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

    Really really really awesome . Fantastic.
    Very good.
    You have my like and subscription.
    I activated notifications too

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

      Thank you! I’m glad you liked it. There’s a new video published in case you want to learn more :)

  • @georgembajiaku4567
    @georgembajiaku4567 3 года назад +3

    Awesome work sir.. I want to implement this in a RN project, but I want to use text. Any advice? Can I interpolate views or components in the output range array, or how can I go about changing the content based on the interpolate values. Thanks again!

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

    I love this channel

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

    you are absolutely awesome...you'll reach more subscribers soon

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

      Thank you so much for showing your support 🤗✌️

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

    Awesome explanation, thanks for the knowledge

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

    Looks so good. I'm gonna try something with this.

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

      Please do and share the results! Thanks Mohd! ✌️

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

    Nice one. Thank you

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

    well done mate !! you nailed it 🔥🔥🔥

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

    I get an error in React Native for Android it says BackgroundColor is not supported by native animated module, how did you do that animation?

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

    how can you set translateX to a percentage instead of a number ??? it does not work for me ???

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

      pls let me know if you found a solution to this

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

    I get the error: Invariant Violation: Transform with key of "translateX" must be a number: {"translateX":"0%"}
    Any idea how to fix this?

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

    Thank you very much.

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

    Mindblowing is your animation 👌

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

    Wow, nice dude

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

    thank you friend!!!

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

    Thank you bro! Great job!

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

    Woah! Loved it 🔥

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

    Thank you nice tutorial ! When it comes to useNativeDriver, what drives the choice of false or true ?

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

      useNativeDriver = true, will perform faster / better animations. You should use this when you are only animating opacity and transform properties. But if you need access to properties other than opacity and transform, ( e.g. width or height) , you should set it to false ( because as of yet, native driver does not support other properties)

  • @farzam-ng6hi
    @farzam-ng6hi 3 года назад

    Keep up u are grate

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

    *nice* I like that

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

    Great work bro. 👍

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

    i love it

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

    I do really like everything: the animation, the technique and your clear explanation, well done. I just didn't get why you make `useNativeDriver` `false` ?

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

      Hi Ihab, useNativeDriver can be used only for transforms and opacity and in my example I was interpolating colors as well.

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

      @@CatalinMironDev got it. Thanks 🙏

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

    awesome

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

    Thanks for the video, really interesting!
    Is the 0.001 value in the color input range really needed? 🤔

    • @CatalinMironDev
      @CatalinMironDev  4 года назад +3

      The whole point is to have the same color in [0, 0.5] range, but you are right, this is not needed. Great suggestion! Thanks!

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

    good work

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

    very good! Thx for that!

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

    this is really amazing!
    love your work!
    How can I use this with React Navigation?

  • @co-canada-2-canada
    @co-canada-2-canada 4 года назад

    Wonderful explanation. (Y)

  • @Ankitkumar-vw1zz
    @Ankitkumar-vw1zz 4 года назад

    broooooo this is awesome

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

      I’m glad you found it useful. Thanks Ankit! ✌️

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

    Freakin' awsm

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

    Perfect ❤️🙏🏻🎉

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

    Can you do Samsung's One UI animation of the settings screen? On the scroll, the settings text fades away and the scrollable part sticks to the top and on the scroll back the animation reverses.

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

      In my last video I’m doing the sticky footer + custom animation, inspired by Medium article. Check it out and let me know if this helped you. Thanks Shriganesh ✌️

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

      @@CatalinMironDev You can show the demo using pan gesture handler, that would be awesome.

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

    Cool

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

    Woow 😍👍🏼

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

    Wow change of background! where are you now miron? Not in romania i guess lol

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

      :) I'm in Prague, Czech Republic for 2.5 years now :)

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

    plase answer me , do i have to do multiple projects with js or jump direcly to do them with react what do you think bro

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

      I recommend to do nothing but one big project in vanilla JavaScript, HTML and CSS. Then, when you're done, do the same project (if you want) in React. JSX sintax is pretty similar to HTML, and you'll use CSS as well

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

      I highly recommend to start using JavaScript, HTML and CSS. React is JavaScript so as long as you know JavaScript, building apps eith React should be that hard, but first it’s better to understand the concepts behind JavaScript IMO.

  • @rehanansari-tq9wx
    @rehanansari-tq9wx 3 года назад

    ❤️❤️❤️

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

    Really nice, could you show us how to do it in reanimated also? 😍

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

      I can do it. It should be the same Animated.Value starting from 0. I’ll add this in my future videos 👍

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

    u can this animation in moti? and compare please

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

    nice!

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

    Keep it up
    5 star

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

    Can u please help making react native fully functional audio and video player?

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

    hey please make the full part with gesture handler

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

    Why do you use React.useRef(new Animated.Value(0)) ?

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

      Because I don’t want to directly mutate the animated value. React.useRef returns a mutable value and it’s persistent during component lifecycle. Here are the docs with examples: reactnative.dev/docs/animated

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

      @@CatalinMironDev thanks bro😁. So can I use
      animatedValue.setValue() with useRef? Or this isn't recommended use setValue?

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

    Hey thanks for this.Can u provide full scratch project that is on react native node js for beginners.

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

      Hi, I already created this kind of project. You can check my series from this playlist: ruclips.net/p/PLQocKVqyqZDQrUU7zUfFogbAO0ynvQK2j. Thanks!

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

      @@CatalinMironDev ok thanks

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

    🤙🏽💪🏿💪🏿

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

    Please try to create in React Native cli...This will help more in production app development.

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

    you could have explained from scratch not started code . could not get it yet.

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

    Hi i am new to react native ,is this code worked in react native cli also

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

      Yes, the code works using react native cli. Thanks Saritha ✌️

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

      Code was perfectly working in ios but in android emulator getting error like "Project with path ':unimodules-core' could not be found in project ':unimodules_react-native-adapter". any suggestions plz

  • @pinkfloyd9160
    @pinkfloyd9160 4 года назад +2

    Who's here after Reddit ;-)😃😃

  • @mad-mak
    @mad-mak 2 года назад

    did anyone figure out how to implement this on android?

  • @in-loco2667
    @in-loco2667 4 года назад

    How to go to another page when the animation is finished

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

      If you follow-up the GitHub link from the description, there's an implementation of this slider with multiple slides and you can see how to move from a slide to another. Please let me know if you need any help with it. Thanks!

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

    why do you use light theme, aww that hurt 💔

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

      I switched to a dark one and hopefully you like it. Thanks for sharing your feedback Abdullah ✌️

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

      @@CatalinMironDev that's so nice of you. I like your videos a lot, easy to understand and implement. Keep up the good work. 👌

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

    "mind blowing"

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

    Dude, fire video. Short and great. I wonder how this would look with reanimated. If anyone wants an expo snack, here it is (using the git repo): snack.expo.io/@git/github.com/catalinmiron/react-native-dot-inversion

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

    Ffs use dark mode man, my eyes cant see shit on the white bg. How u dare to even do that ._.

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

    awesome