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

  Рет қаралды 12,075

notJust․dev

notJust․dev

Күн бұрын

Пікірлер: 30
@JohnWickXD
@JohnWickXD 5 ай бұрын
Sir how to make Onboarding screen only once😢
@АртёмГаджиев-к3э
@АртёмГаджиев-к3э 6 ай бұрын
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 6 ай бұрын
Thanks for sharing!
@Shasa.t
@Shasa.t 6 ай бұрын
Thank you for this, solved the issue for me!!
@ajalasegun1
@ajalasegun1 10 ай бұрын
Thanks for DEVember!
@Wavywahid
@Wavywahid 10 ай бұрын
My app crashes when I have Reanimated and try to swipe to left or right. Anybody else have this issue?
@priyamshah7117
@priyamshah7117 9 ай бұрын
same error , how did you solve ? and could you figure out what actually is causing the error ?
@Wavywahid
@Wavywahid 9 ай бұрын
@@priyamshah7117 you need to use `runOnJS` when calling an external function in gesture
@noormuhammad888
@noormuhammad888 7 ай бұрын
@@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 7 ай бұрын
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!
@АртёмГаджиев-к3э
@АртёмГаджиев-к3э 6 ай бұрын
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) )
@usmaniCodes
@usmaniCodes 5 ай бұрын
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 .
@emporteme
@emporteme 7 ай бұрын
Well Guess I better use 3 different pages
@maurotwister475
@maurotwister475 6 күн бұрын
Amazing tutorial, it´s cool
@notjustdev
@notjustdev 2 күн бұрын
Thank you! Cheers!🙌
@_marcobaez
@_marcobaez 3 ай бұрын
Amazing tutorial!! Thank you Vadim!!
@notjustdev
@notjustdev 3 ай бұрын
Appreciate it, thanks! 🙌
@gabrielemazzola9652
@gabrielemazzola9652 7 ай бұрын
Great content! Thanks, this was very helpful.
@notjustdev
@notjustdev 7 ай бұрын
Glad it was helpful 🙌
@AnmolThakur-vv9lf
@AnmolThakur-vv9lf 8 ай бұрын
Thanks for the lecture learned too much from it.
@notjustdev
@notjustdev 7 ай бұрын
You are welcome!
@usmaniCodes
@usmaniCodes 5 ай бұрын
Awesome Sir, Done with Day 2. ❤❤
@notjustdev
@notjustdev 5 ай бұрын
That's great, keep going 🚀
@kntbruh
@kntbruh 5 ай бұрын
nice!
@lokindradangi
@lokindradangi 10 ай бұрын
Thanks man❤
@ricardohernandezmendez4207
@ricardohernandezmendez4207 7 ай бұрын
Awesome Video Tutorial!
@notjustdev
@notjustdev 7 ай бұрын
Thanks!
Building a Telegram Clone with React Native, Expo, Stream and Supabase
3:57:39
Let’s Build an AI Chatbot for Expo Docs: RAG Tutorial
3:12:29
notJust․dev
Рет қаралды 13 М.
How do Cats Eat Watermelon? 🍉
00:21
One More
Рет қаралды 11 МЛН
How Strong is Tin Foil? 💪
00:26
Preston
Рет қаралды 137 МЛН
Let's build iOS 16 in React Native 🤔
3:53:49
notJust․dev
Рет қаралды 278 М.
Building the Formula 1 App with React Native
3:58:45
notJust․dev
Рет қаралды 245 М.
Unlocking the Power of PWAs with Next.js 14 + native tips
11:30
tobi tackles tech
Рет қаралды 1 М.
Build a Local First Trello Clone with React Native & Realm
3:59:20
notJust․dev
Рет қаралды 75 М.
Build a Realtime Chat App in React Native (tutorial for beginners) 🔴
3:49:50
Role Based Navigation in React Native with Expo Router
25:41
Simon Grimm
Рет қаралды 13 М.
Building a Health Application with React Native: Step Counter
3:57:53
notJust․dev
Рет қаралды 379 М.
Everything New In Home Assistant 2024.10!
8:55
Everything Smart Home
Рет қаралды 9 М.
Build a full stack UBER EATS clone - 3/5 Days Challenge  🔴
3:59:46
notJust․dev
Рет қаралды 401 М.
How do Cats Eat Watermelon? 🍉
00:21
One More
Рет қаралды 11 МЛН