Build an Animated Onboarding Flow in React Native | DEVember Day 2

Sdílet
Vložit
  • čas přidán 27. 08. 2024

Komentáře • 28

  • @ajalasegun1
    @ajalasegun1 Před 8 měsíci +2

    Thanks for DEVember!

  • @_marcobaez
    @_marcobaez Před 2 měsíci

    Amazing tutorial!! Thank you Vadim!!

  • @usmaniCodes
    @usmaniCodes Před 4 měsíci

    Awesome Sir, Done with Day 2. ❤❤

    • @notjustdev
      @notjustdev  Před 4 měsíci +1

      That's great, keep going 🚀

  • @gabrielemazzola9652
    @gabrielemazzola9652 Před 6 měsíci

    Great content! Thanks, this was very helpful.

  • @AnmolThakur-vv9lf
    @AnmolThakur-vv9lf Před 6 měsíci

    Thanks for the lecture learned too much from it.

  • @ricardohernandezmendez4207
    @ricardohernandezmendez4207 Před 6 měsíci

    Awesome Video Tutorial!

  • @lokindradangi
    @lokindradangi Před 8 měsíci

    Thanks man❤

  • @usmaniCodes
    @usmaniCodes Před 4 měsíci

    hello Sir, whenever I change anything in day2 it goes back to home screen (re-renders) .. even though I change just fonts related setting .. meaning fontSize 5 to 10 .

  • @kntbruh
    @kntbruh Před 4 měsíci

    nice!

  • @Wavywahid
    @Wavywahid Před 8 měsíci +3

    My app crashes when I have Reanimated and try to swipe to left or right. Anybody else have this issue?

    • @priyamshah7117
      @priyamshah7117 Před 8 měsíci +1

      same error , how did you solve ? and could you figure out what actually is causing the error ?

    • @Wavywahid
      @Wavywahid Před 8 měsíci

      @@priyamshah7117 you need to use `runOnJS` when calling an external function in gesture

    • @noormuhammad888
      @noormuhammad888 Před 6 měsíci

      @@priyamshah7117 @Wavywahid . After 3 hours of debugging. I've debugged the issue.
      It is because the reanimated and gesture handler callbacks works on the UI thread and the onContinue and onBack function we have created are by default run on the JS thread, so we can not use it directly for some reason (idk why). Here is the solution:
      import Animated, { FadeIn, FadeOut, runOnJS } from "react-native-reanimated";
      //swipeForward
      .onEnd(() => runOnJS(onHandleContinue)());
      //swipeBackward
      .onEnd(() => runOnJS(exitOnboarding)());

    • @ot7976
      @ot7976 Před 5 měsíci +1

      Had the same, i copied the day2 tsx files from the git repository (day 2 end branch) and all was ok. I couldbt see an obvious difference!

    • @user-ob9mt6mx2y
      @user-ob9mt6mx2y Před 5 měsíci

      I suffered for two days with a problem after adding reanimated - when I swiped, the application crashed (the buttons worked)
      Maybe someone will encounter this problem, here is the solution:
      add: runOnJS(true)
      const swipe = Gesture.Simultaneous(
      Gesture.Fling().runOnJS(true).direction(Directions.RIGHT).onStart(onBack),
      Gesture.Fling().runOnJS(true).direction(Directions.LEFT).onStart(onContinue)
      )

  • @JohnWickXD
    @JohnWickXD Před 3 měsíci

    Sir how to make Onboarding screen only once😢

  • @emporteme
    @emporteme Před 6 měsíci

    Well
    Guess I better use 3 different pages

  • @user-ob9mt6mx2y
    @user-ob9mt6mx2y Před 5 měsíci +3

    I suffered for two days with a problem after adding reanimated - when I swiped, the application crashed (the buttons worked)
    Maybe someone will encounter this problem, here is the solution:
    add: runOnJS(true)
    const swipe = Gesture.Simultaneous(
    Gesture.Fling().runOnJS(true).direction(Directions.RIGHT).onStart(onBack),
    Gesture.Fling().runOnJS(true).direction(Directions.LEFT).onStart(onContinue)
    )

    • @notjustdev
      @notjustdev  Před 5 měsíci +1

      Thanks for sharing!

    • @Shasa.t
      @Shasa.t Před 5 měsíci +1

      Thank you for this, solved the issue for me!!