Advanced React Native FlatList animations at 60fps with Animated API
104,742
Published 2020-08-05
In this video tutorial we'll learn how to create:
- use the snapToInterval prop
- how to display a portion from the prev and next item
- how to align the active slide in the middle
- how to use MaskedView
Built using @expo, vanilla React Native Animated API and FlatList.
This code works in plain React Native project as well since we are using only React Native APIs such as Animated and FlatList.
- Inspiration: dribbble.com/shots/8257559-Movie-2-0
- GitHub: github.com/catalinmiron/react-native-movie-2.0-car…
👉👉👉 More react native animations: www.animatereactnative.com/ 👈👈👈
--
- Expo: expo.io/
- TMDB: www.themoviedb.org/
----
👉Join Discord: discord.gg/vg7hUDU.
Want to support me?
- Patreon: patreon.com/catalinmiron
- BuyMeACoffee: www.buymeacoffee.com/catalinmiron
- Paypal: paypal.me/catalinmiron
----
You can find me on:
- Github: github.com/catalinmiron
- Twitter: twitter.com/mironcatalin
- Website: batman.codes/
Timeline:
00:00 Intro
01:15 Project presentation
04:09 snapToInterval / decelerationRate
05:07 animate FlatList items
07:30 how to display the item in the middle snapToInterval
09:45 fix FlatList item animation
10:33 Create the backdrop
12:45 Backdrop FlatList
14:15 LinearGradient to fade the Backdrop
16:20 Animate Svg to create the parallax effect
18:53 60fps demonstration
19:26 Final words
#reactnative #animations #expo #tmdb
All Comments (21)
-
I received a lot of comments that this is not visible on Android devices. Here's the fix for it: snack.expo.io/@catalinmiron/react-native-movie-2.0…. Thanks a ton!
-
This guy is very underrated . He deserves more subscribers .
-
You deserve many more subscribers for this. Thank you for the quality content ☺️
-
Thank you for making awesome tuts for us and inspiring the React Native movement!
-
This is the best react native content I have ever seen.
-
Ohhhh... I can't express how happy I am like I can do all that stuff in css or framer motion but I was struggling to do that in react native and thought that I lost all my progress but your channel gave me hope to continue working on react native.
-
Thanku so much bro I will be implementing this animation in my project, I will share your video in my friend circle I think you deserve more subscribers,🙂👍
-
Awesome video, clean code, no complications!
-
Great work! I enjoyed every piece of it.
-
This was awesome, I loved it, super helpful.
-
This interface is out of this world! 🥰🥰
-
This guy deserve to be the top react native teacher on youtube.
-
Nice video, thanks for this content !
-
Best animation tutorials! Thanks! 👍
-
Amazing tutorial. Thank you 😊
-
Thank you very much. I'll share this video with my friends.
-
Great work Catalin
-
Finally YouTube suggested great channel
-
AWESOME tutorial. Thank you!
-
Thanks keep making videos like this! :D