Reanimated 2 Transitions

Поділитися
Вставка
  • Опубліковано 7 січ 2025

КОМЕНТАРІ • 46

  • @aseemregmi
    @aseemregmi 4 роки тому +16

    Thanks for keeping us up to dated, glad this version 2 came out just when I had started to learn animations in React Native.

    • @wcandillon
      @wcandillon  4 роки тому +3

      Haha perfect timing indeed :)

    • @chuksben8175
      @chuksben8175 4 роки тому

      Where are you learning it from? There arent much resources on animations. I would appreciate if you can ping me at codetraxx10@gmail.com

  • @sumanth3036
    @sumanth3036 4 роки тому

    Unbelievable that you are already going to update your course soon. So so exciting. The new illustrations are so cool, btw :D

  • @mellow-meanderings
    @mellow-meanderings 4 роки тому

    hi William! great stuff! i'm a purchaser of your first reanimated couse, cant wait for reanimated 2 updates!

  • @alexkey9372
    @alexkey9372 4 роки тому

    best react-native developer by far! great tutorial once again!

  • @rafilalars6347
    @rafilalars6347 4 роки тому +1

    Thanks for the great video, can you do a video showing installation of reanimated 2 please.

  • @AhmedMagdy95
    @AhmedMagdy95 4 роки тому +1

    William thanks for the video, great content as always!
    I caught something in the video that I think might be a violation to the rules of hooks, and that's the useAnimatedStyle inside the map, it's fine here because the number of cards is static but this breaks in any dynamic scenario.

    • @mifino
      @mifino 4 роки тому

      I was thinking the same. If he were to use eslint-plugin-react-hooks (extremely useful eslint plugin) I think it would give a error. Could probably move useAmimatedStule out and then have an equivalent map inside of it to make a keyed object for lookup in render? Edit: duhh I just realized there is an eslint error there already.

  • @johnjordan9300
    @johnjordan9300 3 роки тому

    Well said William! (in the intro)

  • @AnshumanBhardwaj
    @AnshumanBhardwaj 4 роки тому

    Really great content and awesome work with the library `react-native-redash`

  • @prakashsubedi211
    @prakashsubedi211 4 роки тому

    Really love it 😍 !!

  • @SpookyKillerz
    @SpookyKillerz 4 роки тому +1

    Good video, as always! 👍

  • @peacemaker4969
    @peacemaker4969 4 роки тому

    Hey willian, thanks for updating us about Reanimated 2.
    The 'withTransiction' set one value 0 to 1 and 1 to 0, there's a way to set a value 0 to 1 and after that, set that value to 0 without transition, like a reset?
    T
    Thank you (or someone) for helping me.

    • @peacemaker4969
      @peacemaker4969 4 роки тому

      Forget it, i was reading the docs and found timing(), that do what i want. I was think only with withTiming() that forgot the timing() function. rsrs

  • @shakofarhad876
    @shakofarhad876 4 роки тому

    Hello William!
    I was wondering if the Animated Text is fixed in re-animated 2. I am using your re-text function for showing animated texts. Is re-text still neded for re-animated 2? :)

  • @mjstudio6843
    @mjstudio6843 4 роки тому

    I will install Reanimated 2 right now

  • @pcgs_
    @pcgs_ 4 роки тому +2

    Nice video William! I have one question, I have access to v1 course I'll have the version 2 in the same account for free too or I'll have to buy?

    • @wcandillon
      @wcandillon  4 роки тому +6

      Everything will be available under the same subscription. These two course and I have other plans ;-)

  • @robertshawnmitchell
    @robertshawnmitchell 4 роки тому +3

    Nice intro message

    • @wcandillon
      @wcandillon  4 роки тому +2

      Thank you Shawn 🙌🏻

    • @shakofarhad876
      @shakofarhad876 4 роки тому

      @@wcandillon Yes, thank you for that introduction!

  • @principe.borodin
    @principe.borodin 4 роки тому

    awesome, wonderful.

  • @karniejbeats
    @karniejbeats 4 роки тому

    Hi William, as always - great content ! Do you plan to recreate some of your example ideas ( like Instagram Pinch Zoom ) with Reanimated 2 ? :)
    It would be really helpful!
    If not here so maybe on your platform ? :) Either way I plan to sign up for it soon.

  • @rand0mtv660
    @rand0mtv660 4 роки тому +1

    Nice work, looks really good. One thing I'm wondering, I guess the red underline under useAnimatedStyle is ESLint complaining that you are not using the hook at the top level of the React component, right?

    • @wcandillon
      @wcandillon  4 роки тому

      Exactly :) need to refactor this in a component.

    • @rand0mtv660
      @rand0mtv660 4 роки тому

      @@wcandillon great, thanks for confirming this.

  • @vincentandrieu5429
    @vincentandrieu5429 4 роки тому

    When the stable version will be available for react native, how much longer will we need to wait to use it with expo?

  • @dodicandra4971
    @dodicandra4971 4 роки тому

    hi, I tried to make the component also from createAnimatedComponent, but I don't know all the props in that component ... I use typescript for passing props, but I also don't know the correct way
    i made it like this ..
    @wcandillon
    `const AnimatedFlatList: React.FC = Animated.createAnimatedComponent(FlatList)`

  • @devsoni351
    @devsoni351 7 місяців тому

    hello sir. just come from free code camp video in that video you are using the react-native redash with reanimated v1 and using usePanGestureHandler from redash. can you please make the video to use of redash with v3 reanimated.(heart):)

  • @majrohi1
    @majrohi1 4 роки тому

    William, I need your advice, over the past few days, I have been trying to get box shadows work the same on iOS and Android. I have had no luck. iOS shadow does not work if you set overflow hidden and android elevation doesn't offer any control. I have tried using an ImageBackground as shadow but that fails if your view height or width change with animation. I would love to know if there's something or if you could do a video. Thank you!!!

    • @shakofarhad876
      @shakofarhad876 4 роки тому

      You can use the SVG shadow: github.com/879479119/react-native-shadow
      That works, but has some quirks.
      You can also implement your own shadow with views. I have done this. It requires you to create X amounts of Views with the same background color, and a small opacity value, layered on top of each other with a offset in position. This creates the illusion of a fading color. I use this for glow effects around my components. It works great and you only need 5 views or max 10 views to stack on top of eachother to get a really nice effect. But this is much, much, much more difficult to implement than to just use the svg shadow package.

    • @majrohi1
      @majrohi1 4 роки тому

      @@shakofarhad876 thanks for your reply. The SVG thing I have tried but found to have certain limitations and sometimes behaves unpredictably. The other trick like you mentioned, or perhaps using PNG images and then display just 1 view on top of it. Well all of these start to break down when you play around with complex animations.

    • @shakofarhad876
      @shakofarhad876 4 роки тому

      @@majrohi1 No, not the approach that I mentioned. I am currently animating glow fade in and fade out. You are simply animating all the Views as one View not each individual View because all the Views are becoming one glow/shadow together. I am having no issue with animations. On my phone and on the emulators it runs at 60 FPS. And I am just using normal react native animations, not even re-animated. :)

    • @majrohi1
      @majrohi1 4 роки тому

      @@shakofarhad876 :) great to hear that. Does it work seamlessly with border radiuses as well?

    • @shakofarhad876
      @shakofarhad876 4 роки тому

      @@majrohi1 Yes, I would like to share my code with you directly, but I am writing using Clojurescript which is a functional programming language that might be a bit confusing to look at without explanation.
      But basically what you do is to define views with a certain shape and size underneath another component with an offset in position and a low opacity value so that stacking multiple of that view gives a fade effect.
      I did this just have a glow effect around input fields and buttons because that is what is not supported in android. And it works great and looks great! :)

  • @excalibur885
    @excalibur885 4 роки тому

    Great video.. Thank you... ( still waiting for bubble background transition on instagram DMs ^^ )

  • @bouamarelouahhabi9525
    @bouamarelouahhabi9525 4 роки тому +1

    Thank you !!!

    • @wcandillon
      @wcandillon  4 роки тому

      Thank You for your watching 😃

  • @Les_decouvertes
    @Les_decouvertes 4 роки тому

    Hello ! It's awesome. I would like to create in my react native project a part of discussions as for Wathsapp. But I'm stuck. Can you orient me. Thank you

  • @arthursantos9172
    @arthursantos9172 4 роки тому +1

    o/

  • @TheBilTheory
    @TheBilTheory 4 роки тому

    Merci! Leurs doc est moyenne.