React-Navigation-5-Login-Animation-Demo
As we know switch navigator is removed from react navigation 5. I have used redux to switch navigation componments. A React Navigation 5 Login demo using react native reanimated, redux and react native splash screen.
Demo
Code
See: src/screen/Auth/LoadingScreen.js
File.
//Assign above transition
const TRANSITIONS = [TRANSITION_FADE, TRANSITIONS_SLIDE_BOTTOMOUT_FADE, TRANSITION_SCALE_FADE, TRANSITION_FADE_SILDE_BOTTOM_RIGHT];
//Pick 0 to 3 you would like
const TRANSITION = TRANSITIONS[0];
Thirdparty library used
- React navigation
- React native reanimated
- Redux, React-Redux and Redux Thunk
- React native async storage
- React native material textfield