Relative Content

Tag Archive for react-native

React native expo

I have created one project in react native expo in this one section of admin in this when admin login then Drawer options come and admin related screen
I have another section user in this also I want add drawer when user login then user drawer come
I have done admin code now I started working on user section but I facing issues for drawer in starting i write Admin drawer code in app.js. For drawer can need seperate file for admin drawer and user drawer
Can anyone have idea then help me

How to make a scrolling marquee that does not cause lag

I can’t figure out how to make a horizontal scrolling marquee that does not cause major performance issues. For example, it takes a full 5-10 seconds for form elements to come into focus when I select them, when I have this marquee running.

I can’t reset initialRoute screen in my root stack – React Native

I am using @react-navigation/native upgraded current version but i am trying to reset the index 0 using the CommonAction.reset() not working
scenerio: I am in the login page once i loggined the splash screen in my root stack initially showing 3 seconds delay then navigate tot eh dashboard my question is why the splash screen is showing initially i already tried lot of things to reset the initialScreen while login or logout not working