Easy React Native Accordion Menu with Reanimated Transition API

  Рет қаралды 39,585

Catalin Miron

Catalin Miron

Күн бұрын

👉👉👉 More react native animations: www.animaterea... 👈👈👈
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/sof...) and flexbox styling without the need of layout measurements, just pure flexbox and Transition API from react native reanimated library.
---
Inspiration: interfacemarke...
GitHub: github.com/cat...
Reanimated: github.com/sof...
Expo: expo.io/
----
👉Join Discord: / discord .
Want to support me?
Patreon: / catalinmiron
BuyMeACoffee: www.buymeacoff...
Paypal: paypal.me/cata...
----
You can find me on:
Github: github.com/cata...
Twitter: / mironcatalin
Website: batman.codes

Пікірлер: 111
@shubhamkamath
@shubhamkamath 4 жыл бұрын
Came here for learning animation, learned more about flex (and animation)! Thanks for the tutorial. 😁
@CatalinMironDev
@CatalinMironDev 4 жыл бұрын
Thank you. This small trick will make the difference. ✌️
@shubhamkamath
@shubhamkamath 4 жыл бұрын
@@CatalinMironDev yes!!!
@enzomanuelmangano9886
@enzomanuelmangano9886 4 жыл бұрын
Extremely useful. I really appreciated the fact that you built the project step by step without starting from a pre-compiled template.
@CatalinMironDev
@CatalinMironDev 4 жыл бұрын
I’m glad you liked it. Thanks Enzo✌️
@shixuo
@shixuo 2 жыл бұрын
same here! really man, helps us beginners a great deal
@shixuo
@shixuo 2 жыл бұрын
thank you for making this beginner friendly and not jumping in with completed setup
@alashish
@alashish 5 ай бұрын
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👍
@shrikantjha5630
@shrikantjha5630 2 жыл бұрын
Our React Native Guy. Thanks man.
@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 жыл бұрын
Thanks you so much Adarsh for sharing this with me! Thank you ✌️
@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
@victorighalo
@victorighalo 3 жыл бұрын
I like the way you explained the entire process and how it all works. Awesome job.
@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 😅
@flaviusone
@flaviusone 4 жыл бұрын
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! ✌️
@satishmaurya2089
@satishmaurya2089 3 жыл бұрын
Thanks catalin for such a great video
@nigelpallatt
@nigelpallatt 2 жыл бұрын
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
@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 ✌️
@decordelights_
@decordelights_ 3 жыл бұрын
these tutorials always add up to my knowledge
@CatalinMironDev
@CatalinMironDev 3 жыл бұрын
I’m glad to hear this. Thanks ✌️
@lastemperor1347
@lastemperor1347 3 жыл бұрын
Thank you so much !!!, there is a long time I was looking for something like this.
@godwinebikwo6544
@godwinebikwo6544 4 жыл бұрын
The new pressable component is good as well
@godwinebikwo6544
@godwinebikwo6544 4 жыл бұрын
I'm glad you are back!! Thank you for sharing your knowledge for us to build upon 🙏🏿
@CatalinMironDev
@CatalinMironDev 4 жыл бұрын
Thanks Godwin🙏
@RachitMalvi
@RachitMalvi 4 жыл бұрын
Thanks, Catalin Miron for this tutorial. And thanks for the extra information about flex and flexGrow too.
@CatalinMironDev
@CatalinMironDev 4 жыл бұрын
You’re welcome Rachit ✌️
@spongebrot
@spongebrot Жыл бұрын
It would be great if you could do this with reanimated 3, it seems like Transition does not work
@munabhai2657
@munabhai2657 2 жыл бұрын
great, extremely helpful video, thanks alot bro..
@anhquannguyen5111
@anhquannguyen5111 2 жыл бұрын
Thanks a lot. You saved my day
@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!
@shae4041
@shae4041 4 жыл бұрын
best tutorial ever , thank so much
@chrishd3210
@chrishd3210 4 жыл бұрын
Great tutorial. Clear and simple. Thanks!
@CatalinMironDev
@CatalinMironDev 4 жыл бұрын
Glad you enjoyed it! Thanks Chrish! ✌️
@raajnadar
@raajnadar 4 жыл бұрын
Your tutorial is very easy to understand, thanks for sharing.
@CatalinMironDev
@CatalinMironDev 4 жыл бұрын
I am glad that you found it easy to follow. Thanks!
@anastely6144
@anastely6144 4 жыл бұрын
Thank you Catalin, very awesome tutorial!
@CatalinMironDev
@CatalinMironDev 4 жыл бұрын
Thanks Anas!
@dilhando
@dilhando 3 жыл бұрын
Very good tutorial, very very good. Did I say it was good? Just making sure because it is hell of good!
@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.
@MohamadKh75
@MohamadKh75 4 жыл бұрын
Great video Catalin 🔥❤️
@CatalinMironDev
@CatalinMironDev 4 жыл бұрын
Thank you! I’m glad that you found it useful!
@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 ✌️
@guillermopm4465
@guillermopm4465 4 жыл бұрын
I love this videos, Great work!
@CatalinMironDev
@CatalinMironDev 4 жыл бұрын
Thnak you!
@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! ✌️
@StewartRand-bc2rs
@StewartRand-bc2rs Жыл бұрын
Seems like this API is deprecated now with Reanimated v2?
@leonardbusoi5005
@leonardbusoi5005 4 жыл бұрын
Just perfect. Thanks!
@CatalinMironDev
@CatalinMironDev 4 жыл бұрын
I am glad hat you found it useful! Thanks!
@shawwalmuhammad
@shawwalmuhammad 4 жыл бұрын
Great tutorial keep it up!
@CatalinMironDev
@CatalinMironDev 4 жыл бұрын
Thanks Shawwal, will do!
@scharrmah
@scharrmah 4 жыл бұрын
Keep rockin!!
@shubhammaurya96
@shubhammaurya96 4 жыл бұрын
during collapse no animation is performed but when restoring it to original form then animation works fine
@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?
@markdoyle8918
@markdoyle8918 4 жыл бұрын
Amazing thanks 😍
@CatalinMironDev
@CatalinMironDev 4 жыл бұрын
Thank, it’s my pleasure 😇
@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.
@vitorrazdorov6017
@vitorrazdorov6017 4 жыл бұрын
Thanks for lesson, it realy easy^-^
@CatalinMironDev
@CatalinMironDev 4 жыл бұрын
You're welcome 😊Thanks Victor! ✌️
@shivamchaudhary8880
@shivamchaudhary8880 3 жыл бұрын
Thanks Man !!
@AjayBhatia
@AjayBhatia 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 жыл бұрын
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 🙏🙏🙏
@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…
@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
@leonelkahameni5315
@leonelkahameni5315 4 жыл бұрын
Great tutorial thanks
@CatalinMironDev
@CatalinMironDev 4 жыл бұрын
Thank you Léonel!
@leonelkahameni5315
@leonelkahameni5315 4 жыл бұрын
@@CatalinMironDev you are welcome
@liaolucas2623
@liaolucas2623 2 жыл бұрын
you save my time
@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
@danielvalencia3437
@danielvalencia3437 4 жыл бұрын
How rezise the silbing components if all elements dont have the same flex ?, Thanks
@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..
@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
@dexkode5558
@dexkode5558 3 жыл бұрын
very helpful
@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?
@bilelrahmouni01
@bilelrahmouni01 Жыл бұрын
i love you man
@narek7281
@narek7281 2 жыл бұрын
Thank you.
@CreativeJE
@CreativeJE 4 жыл бұрын
Hey Catalin what will be difference if we use Layout animation here instead of reanimated transition api ?
@CatalinMironDev
@CatalinMironDev 4 жыл бұрын
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.
@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 жыл бұрын
Hi Tiago, I think that it’s possible.
@wesleybruno4241
@wesleybruno4241 3 жыл бұрын
What is the font name you use in vscode?
@dancristian3673
@dancristian3673 Жыл бұрын
where is the source code demo uploaded ?
@ejdatertas21
@ejdatertas21 2 жыл бұрын
insan değilsin aQ, melek melek :)) thx so much its very nice i write first and use this :))
@danielvalencia3437
@danielvalencia3437 4 жыл бұрын
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} ?
@ImVuCms
@ImVuCms 4 жыл бұрын
Very helpful
@CatalinMironDev
@CatalinMironDev 4 жыл бұрын
Glad it helped!
@khanhduy3364
@khanhduy3364 4 жыл бұрын
thank you very much
@CatalinMironDev
@CatalinMironDev 4 жыл бұрын
You’re welcome ✌️
@sanchitkumar9054
@sanchitkumar9054 3 жыл бұрын
nice
@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 жыл бұрын
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 3 жыл бұрын
who else noticed he uses light mode ??
@BearkFearGamer
@BearkFearGamer 4 жыл бұрын
My gosh, im blind now. Toooo white
@BearkFearGamer
@BearkFearGamer 4 жыл бұрын
I love it!
@arkantossokra
@arkantossokra 2 жыл бұрын
You are great. Keep up the good work
@wandersonaduartelopez8108
@wandersonaduartelopez8108 Жыл бұрын
How can i make the subcategories of each category take me to a diferent screen?
Mind blowing animation in React Native and Expo with Animated API
16:34
The Best React Native Menus with Zeego
24:15
Simon Grimm
Рет қаралды 14 М.
Yay😃 Let's make a Cute Handbag for me 👜 #diycrafts #shorts
00:33
LearnToon - Learn & Play
Рет қаралды 117 МЛН
FOREVER BUNNY
00:14
Natan por Aí
Рет қаралды 30 МЛН
React Native Advanced Carousel Animations
21:47
Catalin Miron
Рет қаралды 20 М.
Advanced React Native FlatList animations with Animated API
36:35
Catalin Miron
Рет қаралды 40 М.
Learn React With This ONE Project
1:39:30
Tech With Tim
Рет қаралды 12 М.
Advanced React Native FlatList stack carousel animations at 60fps
23:48
Advanced React Native FlatList animations at 60fps with Animated API
20:11
The problem with useEffect
11:37
Cosden Solutions
Рет қаралды 35 М.
React Animations just got better
8:05
developedbyed
Рет қаралды 92 М.
Airbnb Header Animation | React Native | Reanimated
7:29
Unsure Programmer
Рет қаралды 50 М.
React Query tips from the maintainer @tkDodo
16:19
Andrew Burgess
Рет қаралды 26 М.