react-native icon indicating copy to clipboard operation
react-native copied to clipboard

React Native how using multiple page?

Open mustafakucuk opened this issue 10 years ago • 6 comments

Hi, how to redirect to react native ?

Ex : index.android.js - login.js . profile.js

<View style={styles.container}> <Text style={styles.welcome}> Welcome to React Native! </Text> <Text style={styles.instructions}> To get started, edit index.android.js </Text> <Text style={styles.instructions}> Shake or press menu button for dev menu </Text> </View>

Thanks :)

mustafakucuk avatar Jul 15 '16 10:07 mustafakucuk

Please submit questions to StackOverflow.

Mayzie avatar Jul 15 '16 11:07 Mayzie

My StackOverflow account is banned :/

mustafakucuk avatar Jul 15 '16 11:07 mustafakucuk

What you need is a Navigator, it's already part of the react-native. Check this article: https://medium.com/@dabit3/react-native-navigator-navigating-like-a-pro-in-react-native-3cb1b6dc1e30#.ydeknoql5

mateoKaradza avatar Jul 15 '16 13:07 mateoKaradza

https://medium.com/@spencer_carli/exploring-navigators-in-react-native-869b6ab47e0f#.ahlqutd6i

charpeni avatar Jul 15 '16 13:07 charpeni

@facebook-github-bot answered

charpeni avatar Jul 15 '16 13:07 charpeni

Closing this issue as @charpeni says the question asked has been answered. Please help us by asking questions on StackOverflow. StackOverflow is amazing for Q&A: it has a reputation system, voting, the ability to mark a question as answered. Because of the reputation system it is likely the community will see and answer your question there. This also helps us use the GitHub bug tracker for bugs only.

ghost avatar Jul 15 '16 13:07 ghost