The magic of Layout Animations in Reanimated (React Native)

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ก.พ. 2025

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

  • @Reactiive
    @Reactiive  3 ปีที่แล้ว +14

    What's up mobile devs?
    This time the code to be written for the boilerplate took a little longer.
    Despite this, I still preferred to start the tutorial from scratch. If you want to start directly from LayoutAnimations -> 11:05

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

      You're really an amazing instructor and React Native dev. Your videos have been very helpful. Thank you.

  • @titan-3-world
    @titan-3-world หลายเดือนก่อน

    This video was incredibly helpful! I'm finally starting to understand animations in React Native. Thank you for creating such a clear and concise tutorial

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

      Thank you, I really appreciate the feedback :)

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

    You videos are simply awesome and very much easy to understand. I just can't wait for your next video each time a new one comes up.

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

      Hi Arshie, glad you liked it!

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

    Been looking for a tutorial just like this. I couldn't click play fast enough. Thank you so much!

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

      Hi Haley, thank you very much for your support! 🚀

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

    React native developer digging into reanimated recently -- Genuinely enjoy your straight to the point tutorial! Keep up with your great work :)

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

    No one has ever offered such quality content for free 🔥

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

    Your React Native tutorials are excellent, please make more, I am building awesome things with your guidance 😎

  • @code-island
    @code-island 3 ปีที่แล้ว +5

    Thank you for this awesome content

  • @ramielwan48
    @ramielwan48 3 ปีที่แล้ว +7

    Clear explanation as always. Here is a suggestion. I was struggling to find an accordion/dropdown component that has nice animation and was performant. Sometimes the dropdown has 100 elements and just animated the view by adding and removing the 100 elements was not very performant. If you could do such a tutorial that would be awesome

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

    excellent as always!

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

      Hi Diko, thanks for your continued support 😁

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

    This is so cool! I've been looking for a long time for someone to finally explain it just like you did. Thank You!

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

      Thank you Sarev, feel free to checkout my other videos 😁

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

    Thank you for this great and helpful containte , I have a suggestion for a video : selecting an item in a list with long press and change his position with swiping of course with animating the changes

  • @deepanshu.770
    @deepanshu.770 3 ปีที่แล้ว

    Awesomely explained ❤️
    Take us further in this reanimated journey

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

      Thank you very much! 🤓

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

    Thanks mate, you helped me a lot in understanding Reanimated with your tutorial :)

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

    Awesome content as always 💯

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

    superb . continue .

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

    Good job! Very nice instruction for reanimanted 2, thank you !

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

    Your all examples were amazing just one request please create separately display basics of all reanimated library and then may be to it's very clear for us to view all your reanimated examples

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

    Amazing content 🔥

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

    Awesome channel !!! Keep posting react native stuff love your videos!! Also which keyboard do you use the sound is so soothing

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

    As always amazing content 💪 It would be nice if you can make a series about making responsive and performant charts!

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

    🔥 Just awesome 🎉🎉🎉

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

    Great video, thanks sir😀

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

    Fantastic tutorial 🎉 really good work. Good pace and covering of special cases.
    (There currently 2022-10 is a bug in android which cause the header from react-navigation to overlay when using the entering prop from reanimated- just sharing since it took me some time to figure out)

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

    i love it :)
    subscribed

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

    Love your videos! How about making some custom animations like collapsable header of the FlatList/SectionList.

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

    What's the purpose of defining initialMode as a useRef() instead of a useState()?

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

    cool man ❤️

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

    Is it possible to change the exiting animation dynamically?

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

    Thanks for the great content! I would like to know what theme are you using for Visual Studio.

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

    Could you do a tutorial to animate the layout of a flatlist with 2 columns?.
    I'm trying to animate it like the example shown on this video but i'm not getting it to work.

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

    Thank you for your support...
    My suggestion is to make react native app that can communicate with USB devices..read and write...if it's possible..I appreciate that from you...

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

    Hi. I just ran your code and I found out on Android, the last item of scroll view break into half and then disappear. Can you give solution to fix this ?

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

    Amazing

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

    thank you brother 🌹
    i have a small qst , im using scrollview but im getting a big lag when i use more than 4 components in the same scrollview ? is there any solution for this ?

  • @Linjerry-dr4jv
    @Linjerry-dr4jv 2 ปีที่แล้ว

    it has bug when you delete bottom item of scrollview

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

    Hmm, but the layout issue is still there. Just add more items to the list (like 15 items), scroll down and then delete some item there.

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

    how do you animate the item inside a Flatlist component just like when you add the item quickly in the video? I've tried using layout animation, but it turns the item to start animate together. I want the animation start from the first item and continue to the next item. any idea?

  • @deepanshu.770
    @deepanshu.770 3 ปีที่แล้ว

    What if we what to animated a component from height 0 to its desired height but without rerendering?

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

      I would avoid the use of Layout Animations for this use case. Instead you can simply create an "height" SharedValue and animate it with the "withTiming" function from reanimated. I think that the video related to the "Swipe to delete gesture" can help you 👀

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

    Can you do something like Collapsible/Accordion animation? That one will be very helpful. Thanks for the video btw, you're awesome!!!

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

    Last item in list behaves strangely on Android (doesn't animate when deleted, and has strange animation when moving up if you delete a prior item), do you have any ideas for that? I've Googled it but can't find an answer.

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

      It works when you set the ScrollViews contentContainerStyle such that it contains "paddingVertical: 100", the 100 being the height of the button. it moves the list a bit down but it will at least work... Strange bug

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

    more animation video please 🥺

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

    Outdated, doesnt work with v3

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

      @@chorazytorpeda16 I recently made a new video about Layout animations with v3 th-cam.com/video/NPq_MFLnQrQ/w-d-xo.htmlsi=fl1MNJvtAfKmCDgl
      Although you can still use this one and replace layout=Layout with layout=LinearTransition and it will work as well. Hopefully this is helpful

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

    Well the first 11 Minutes are not about the topic at all. Maybe you should build a sample application first and show the "magic" of layout animation after a quick recap what you build before. That would save peoples time to watching you build a standard scrollview list before even starting.

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

    how we could apply this behavior on a single element ? Just a div being rendered controlled by a state value. like if show = true then render

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

      {{show &&

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

      @@Reactiive this doesnt work :(

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

      @@BayramArif feel free to reach me via Patreon or Twitter DMs