Easy React Native Accordion Menu with Reanimated Transition API

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ก.ค. 2020
  • 👉👉👉 More react native animations: www.animatereactnative.com/ 👈👈👈
    In this video tutorial we'll learn how to create an accordion animation in React Native using Transition API from React Native Reanimated library (github.com/software-mansion/r...) and flexbox styling without the need of layout measurements, just pure flexbox and Transition API from react native reanimated library.
    ---
    - Inspiration: interfacemarket.com/ui-kits/b...
    - GitHub: github.com/catalinmiron/react...
    - Reanimated: github.com/software-mansion/r...
    - Expo: expo.io/
    ----
    👉Join Discord: / discord .
    Want to support me?
    - Patreon: / catalinmiron
    - BuyMeACoffee: www.buymeacoffee.com/catalinm...
    - Paypal: paypal.me/catalinmiron
    ----
    You can find me on:
    - Github: github.com/catalinmiron
    - Twitter: / mironcatalin
    - Website: batman.codes

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

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

    I like the way you explained the entire process and how it all works. Awesome job.

  • @shubhamkamath
    @shubhamkamath 4 ปีที่แล้ว +15

    Came here for learning animation, learned more about flex (and animation)!
    Thanks for the tutorial. 😁

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

      Thank you. This small trick will make the difference. ✌️

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

      @@CatalinMironDev yes!!!

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

    thank you for making this beginner friendly and not jumping in with completed setup

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

    These videos are of great quality and well prepared. You have all my respect and admiration. Love it ❤️!

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

      Thanks and I’m glad that you like them! ✌️

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

    Extremely useful. I really appreciated the fact that you built the project step by step without starting from a pre-compiled template.

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

      I’m glad you liked it. Thanks Enzo✌️

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

      same here! really man, helps us beginners a great deal

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

    Really feels smooth animation. This is a great tutorial!, keep making videos.

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

    Instant subscribed. Probably the best and the cleanest reanimated transition tutorial, thanks a bunch mate.

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

      Thanks a lot Bora, I’m happy that I could explain it properly ✌️

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

    I'm glad you are back!! Thank you for sharing your knowledge for us to build upon 🙏🏿

  • @alashish
    @alashish หลายเดือนก่อน

    Thanks man, i was looking for this everywhere and was unable to figure it out.
    Reanimated v3 docs has this i will check but when i searched for this its in v1. Not sure of this will check for sure.
    Keep the awesome work👍

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

    I guess this is an older video, but I just found this channel. This was so helpful for my current project!! Love the video, thanks for the help!! You have a new subscriber

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

    Thank you so much !!!, there is a long time I was looking for something like this.

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

    happy to see you are uploading videos again:) excited to see more animations!

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

      I'm also excited to start posting again, hopefully this time I'll be more consistent :)

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

      @@CatalinMironDev nice, yes I am sure it is hard to be consistent, I was supposed to post my first youtube today but am finding I am inconsistent with starting 😅

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

    Great tutorial. Clear and simple. Thanks!

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

      Glad you enjoyed it! Thanks Chrish! ✌️

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

    I am a fan of william and you both but in term of tutor these days I start understanding from you the most. You teach the basics very well and really very thanks for using Javascript.

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

      Thanks you so much Adarsh for sharing this with me! Thank you ✌️

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

    Thanks, Catalin Miron for this tutorial. And thanks for the extra information about flex and flexGrow too.

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

    these tutorials always add up to my knowledge

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

      I’m glad to hear this. Thanks ✌️

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

    Thank you Catalin, very awesome tutorial!

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

    Thanks catalin for such a great video

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

    best tutorial ever , thank so much

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

    Thanks a lot. You saved my day

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

    Thank you a lot, I’ll try this today, cause i’ve been using an implementation that doesn’t looks like a good performance.

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

    Our React Native Guy. Thanks man.

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

    Your tutorial is very easy to understand, thanks for sharing.

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

      I am glad that you found it easy to follow. Thanks!

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

    You are great. Keep up the good work

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

    I love this videos, Great work!

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

    great, extremely helpful video, thanks alot bro..

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

    Great video Catalin 🔥❤️

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

      Thank you! I’m glad that you found it useful!

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

    The new pressable component is good as well

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

    Just perfect. Thanks!

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

      I am glad hat you found it useful! Thanks!

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

    Keep rockin!!

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

    Looks great! Could you please also make a pull to refresh effect so when you pull, depending on finger position, animation of Activity indicator like component or custom animation with Lottie component progresses accordingly?

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

    Great tutorial keep it up!

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

    Great video. I didnt expect that map rendering with && at 10:12 was expecting ? and then :null. Didnt know that && thing thanks

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

      Glad I could help! Thank Oguzhan! ✌️

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

    Very good tutorial, very very good. Did I say it was good? Just making sure because it is hell of good!

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

    Amazing thanks 😍

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

    Thank you.

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

    Thanks so much! You safe my live! That's why I'm subscribed to this channel! I love you man! I'm so happy 😁 are you have course of react native?thanks again!

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

    Thanks for lesson, it realy easy^-^

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

      You're welcome 😊Thanks Victor! ✌️

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

    very helpful

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

    Thanks Man !!

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

    you save my time

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

    wow I found gem of youtube channel, keep it up dude!

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

      Wow, thanks and welcome aboard Kotok TV! ✌️

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

      @@CatalinMironDev can I have a request vid ? how to make on scroll change navbar color from transparent to color background, please, I really enjoyed your tutorial, easy to understand

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

      Kotok TV yes, I’ll do it. I know what type of animation are you talking about. Thanjs ✌️

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

    Great tutorial thanks

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

    Very helpful

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

    thank you very much

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

    i love you man

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

    10:41 - It was all going wonderfully until the animation started, there must be a plug in for this but I was not sure how to implement it... But great up to there, thanks

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

    nice

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

    How rezise the silbing components if all elements dont have the same flex ?, Thanks

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

    How can i make the subcategories of each category take me to a diferent screen?

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

    Very good but how to link to the third accordion from another page. you have an example?

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

    It would be great if you could do this with reanimated 3, it seems like Transition does not work

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

    What if i want that if i click on first item and then click on second item , the first time will stay open rather then close and second item too. what should I do for that

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

    Hi ..this is wonderful..thanks..also if you know any component that can render folder structure in hierarchically, like folder -> subfolder/files..
    pls share..

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

    Hey man where can I study with the idea of passing from the beginner level to the level where you can understand the libraries like reanimated or the core ones in detail…
    I feel like I know basics but the next level is not clear to me…

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

    Hi, I have implemented this solution using FlatList and when there are many items in the FlatList the items overlap when accordion open on android and eventually crashes the app, on ios it works fine though. Can you help me out in this?

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

    during collapse no animation is performed but when restoring it to original form then animation works fine

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

    I tried Implementing it but not working properly in Android. I used class in case of function, the problem is the animation is not initializing with first render, if I refresh the screen it works

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

    What is the font name you use in vscode?

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

    You mention in this video that "flex: 1 means flex-grow is 0". But do you have a source I can look this up online ? Because in the CSS world, flex: 1 means flex-grow and flex-shrink are 1. flex:1 is basically a short-hand for flex-grow:1, flex-shrink: 1 and flex-basis: 0.

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

    Can we do something like like for example to a panel that are show or hidden depending on the state? But in this case a sliding panel? Bottom to op ou left to right?

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

      Hi Tiago, I think that it’s possible.

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

    Hey Catalin what will be difference if we use Layout animation here instead of reanimated transition api ?

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

      The main difference here is that I can create my own transition config for the enter/leave layout animations, Transition API is simpler to use and it’s consistent across platforms and there’s less boilerplate.

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

    insan değilsin aQ, melek melek :)) thx so much its very nice i write first and use this :))

  • @StewartRand-bc2rs
    @StewartRand-bc2rs ปีที่แล้ว +1

    Seems like this API is deprecated now with Reanimated v2?

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

    Beautiful video with great explanation!
    Can you create a series on reanimated 2 from scratch? It would be more helpful for everyone struggling with animations in react native.
    Thanks.

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

      Reanimated2 is not that mature but I’ll give it a try once it will land in Expo. Thanks 🙏

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

      @@CatalinMironDev in that case we would love if you go with current version and make tutorial from scratch, covering all basics 🙏🙏🙏

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

    Hi friend, great video, i like your videos i learn a lot, can you help me with this error, when i try to trigger the onPress event: 'ref.current.animateNextTransition is not a function'.

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

      Did you maybe forget to add ref={ref} ?

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

    Please update this, it no longer works as expo 38 sdk is not compatible with expo go and your dependencies break on the latest versions

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

    where is the source code demo uploaded ?

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

    how do you add navigation using this one?

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

      like switching screens

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

    it is outdated , please update latest package with same feature

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

    The transition function seems like black magic to me (the one returning the Transition element).
    It's powerful, but, at least to me, not in the slightest bit intuitive.

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

      This is basically implementing LayoutAnimation that already exists in React Native but its more powerful. Please let me know if I need to create a video going more in details. Thanks!

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

      @@CatalinMironDev I would love to watch a video explaining the Transition API. Also, with the release of Reanimated 2, will the Transition API be obsolete?

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

    who else noticed he uses light mode ??

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

    My gosh, im blind now. Toooo white