Shared Elements Transition in React Native

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ส.ค. 2024
  • Let's recreate the Facebook Marketplace shared transition in React Native!
    Read the code: gist.github.com/eveningkid/bd...
    React Native Shared Elements: github.com/IjzerenHein/react-...
    React Navigation: reactnavigation.org
    Twitter: / eveningkid
    Medium: / eveningkid
    #reactnative #tutorial #sharedelement

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

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

    something that lacks in other tutorials out there is that they do not explain the library well, as well as how it works. And you nailed it perfectly explaining how and why things happen this way. Well fucking done.

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

      From the bottom of my heart, thank you so much. I truly want to keep this simple and when I read this, I know it’s helping people. Thanks for still being around the channel, it always cheers me up to read this. Have a great day :)

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

    So smoothly explained,thanks mate

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

    Why doesn’t this channel have at least a million subscribers?
    After many years, Finally a channel that REALLY knows how to do teach

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

    You're back! I love how a simple fading animation can drastically change the user experience, adding fading text animation was a nice touch. Loved your video as always!

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

      ...you're still there, haha! I know right, it reminds me of padding actually. As in a block without white spacing looks odd, but turns great as soon as you add a small padding around. Little things...as always :) Thank you for supporting me for all this time, it really means a lot

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

      @@eveningkid Yeah! exactly, small things matter.

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

    Amazing, please keep doing these! 😄

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

    This tutorials are amazing, thanks for it!! Keep doing !!

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

      Thank you so much Alfonso, you've been around for 2 months already!! It really means a lot to get your support :)

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

    I just gotta say it. The amount of time and effort you put into these lessons is outstanding. Thank you so much for your videos, which are both extremely educational and entertaining

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

      Thank you so much for saying this, it means so a lot to me. I really do this for people like you, eager to learn new things. It makes me happy to know that it's being appreciated, thanks a lot :)

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

    This is amazing. Great job!

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

      Thanks a lot Dan, it is really cool you like the videos :) Hope you'll like the next ones

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

    Love this tutorial, so simple to understand the flow

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

      I was surprised myself actually, I thought it would be more complex. Happy this could help you out, always trying to keep things simple for the video :) Happy you're still around, it's been a month already!

  • @efkang.9116
    @efkang.9116 3 ปีที่แล้ว

    Amazing tutorial, simple and well-explained.

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

      Thank you Efkan, always trying to keep things simple. Glad you felt this way :)

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

    You could be setting a really positive precedent in terms of quality and style with these narrated walkthrough-explainers. Keep up the grind and you'll surely be rewarded for it. The only upset I have is that you didn't start sooner!

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

      Thank you so much John, truly. It can be difficult at times when it's just you behind the computer screen. I only hope this can have a positive impact on the community, for anyone who's eager to learn. Thanks again for your support, and I hope to see you around on the channel! Have a great day :)

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

      Second this mate

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

    Nice Explanation! Thank you so much!

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

      Thanks a lot Ajay!! I’m very happy you found it interesting :)

  • @RR-qi1zw
    @RR-qi1zw 3 ปีที่แล้ว +1

    Love your videos.

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

      Thank you so much, this kind of message really keeps me going :)

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

    It looks super cool

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

      Thanks Roylan :)

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

    Wow, brother you have made it very clear and easy

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

      Thanks a lot, there’s a lot of work going into it! Very happy this found you well :)

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

    Keep up the awesome work!

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

      Thank you Jonas!! Will keep it coming and feel free to let me know if there's something you'd like to see

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

    Simply amazing!!

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

      Thanks a lot Saakshi, happy you liked it! :)

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

    I`m still amazed of how you made something as frustrating as RN Animations that interesting to learn.
    Great job. As always.

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

      Wow thank you so much for the kind words! I like things to be simple for myself so I’m sure this transpires in the videos. Really happy you like it, thanks for being among us :)

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

    Amazing!

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

    Awesome video, thank you.

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

      Thank you Erick for the kind words, very happy you liked it! Have a good day :)

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

    Amazing job explaining

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

      Thank you, very glad you liked it :) Just realised you've been on the channel for 3 months already, thanks for your support!

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

    Wowwwww I can't believe it. I'm so amazed on how you interact with your audience and I'm so happy I can learn the shared elements transition, finally. I'm so happy, thank you for your time and for sharing your knowledge

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

      You are very welcome Dan, anytime. Really happy this found you well and has been helpful! Hope to see you around, always a pleasure reading your comments :)

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

    omg, thanks a lot. I love you

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

      Haha, that’s just a video!

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

    nice explanation

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

    Amazing

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

    Awesome content, super usefule. Quick querstion, is there a way to use this with a custom / complex component (like a video)

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

    Nice tutorial i like it Thank You :)

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

      Thanks Imad, my pleasure really :)

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

    What do you use for animation?
    I like your simple sleek animation implementation.

  • @SaadKhan-xf3ry
    @SaadKhan-xf3ry 3 ปีที่แล้ว

    So good!

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

      Thank you Saad for still being around! :)

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

    Great tutorial.

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

      Thanks, glad you liked it :)

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

    Thank you .Thats very practical example but i can not find posts? Button? Icon? in your code

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

    can you tell the dependencies that you used...

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

    Anyone else having the issue of using bottom tabs with shared elements? Like, if I were to click on an image on my "Home Screen", right? That would do the custom animations normally, but let's say I want to navigate with my bottom tabs and go to the profile screen. Now if I were to go back to the home screen (Bottom tabs) and try clicking on the same image. The animation transition won't work anymore. Is there any workarounds to this problem? I have searched a lot of answers and none seem to work out for me so far.

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

    Great content thanks

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

      Thanks a lot, I hope this was helpful to you :)

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

    i have a screen on which i dont want to add the shared element how i can do it

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

    Will it work on expo go??

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

    sir i have a project based on navigation v5 but they mentioning shared element does not support RN navigation v5 ? whats happening there !!

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

    Flutter: Hero Animation...🔥🔥🔥

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

    More videos please!

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

    very crisp !

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

      Thank you!! It's been a while you've been around, really nice of you man :)

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

    I have done all the steps correctly and there is no error but it doesn't work. The transition is normal like before. Can you tell what could be the problem?

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

    Wow that was awesome . Can u make video on svg animation in React Native

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

    Can we do it without ShareElement library?
    Implement the animation ourself hand by hand is enjoyable.

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

    Great job... i like your content... i have a question tho... imagine your image is not showing directly in detail screen, but in another component in the detailscreen... in such a case in which component you need to recieve the postId ? We can use the same behavior in one of details child components or we need to wrap with sharedelement the one that inside in the detailscreen?

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

      Thank you for the kind words Bayram! If I understand your question right, you can just pass post id down to your child component inside Detail screen I think. So your SharedElement would be inside the child component. This needs to be tested though, I'm not 100% sure!

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

      @@eveningkid i tested its working

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

    😓 I really need some help with this library please I'm at my limit. I keep getting "undefined is not an object (evaluating data.image)" but then everything checks out, I'm using expo and react navigation v6

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

    whooo 🙌🏻

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

      I thought I had lost you! It's been a while :)

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

      @@eveningkid haha no always checking the vids, just been crazy times at work. Keep em coming! I'm always lurking in the crowd.

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

    Can I use both shared element and react-native-screen at the same time?

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

      For now I think it isn’t supported. It said that it was unlikely to be in the future (from what I remember)!

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

    read now Imma go recreate this in flutter 🏃🏽‍♂️

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

      Interesting, do you know a good library/core feature for shared transitions in Flutter? :)

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

    Can you teach us how to configure flipper correctly? Since remote debbuging can't be used with reanimated v2, flipper + hermes integration would be great for all debugging, except I still have to rely on remote debugger or reactotron since my hermes stays disconnected in flipper and there is no way for me to make it connect properly. I dont want to use hermes and flipper as 2 separate programs. I'd really appriciate the help.

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

      I second this. For past 2 days, i've been also searching for a good tutorial on flipper

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

      I'll have a look, but not sure if I can get *that* specific. It would be interesting to make a guide to Flipper though, that's a really great idea. Can't tell you when exactly, I'll need to think about it. Stick around :)

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

      @@eveningkid thanks a lot

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

    Good tutorial! Although, you should have waited a few more weeks since RN is about to turn 6 (with params being handled differently). But no big deal. we'll all adjust! :)

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

      That is a very fair point Vincent! I should have known...that'll teach me. Thank you for still being around, I really appreciate it :)

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

      @@eveningkid Quoting from your last video, "Upgrading dependencies? Never had problem with that
      ", "Oh no come on, it's just a version upgrade. Shouldn't take too long
      " 😂

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

    Nice please what did u use for the presentation

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

      Thank you! Just a regular video editing tool, I switched to Luma Fusion recently

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

      @@eveningkid ok I do react native tutorials also mind if check my channel @kymztech

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

      It's great for the community to have as many content as possible, good work :)

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

      @@eveningkid tnx

  • @all-in-all7862
    @all-in-all7862 3 ปีที่แล้ว

    Awesome video👍👏brother, Can u drag and sort the list using Pangature Animation?. Thanku.

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

      Thank you for the kind words, I'll put it on the list (there's a lot of requests already!). Wait and see, but I'd like to do it too :) Stick around

  • @user-chjdamon
    @user-chjdamon 3 ปีที่แล้ว

    are you capable of upgrading react-navigation-shared-elements to match react-navigation v6? I really want to use it !

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

      Mmm, interesting...it isn't currently supported: github.com/IjzerenHein/react-navigation-shared-element/issues/159

    • @user-chjdamon
      @user-chjdamon 3 ปีที่แล้ว

      @@eveningkid haha, that's me too. I just want to know if you can do this? I'm not capable.

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

      Oh!! Ok, I don’t have much time for this right now. I do the channel, prepare materials and future big videos while also maintaining open source projects...maybe someone will :)

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

      @@eveningkid lol was really hoping u would, but ok

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

    Now in 2024 is not working anymore