React-native - Passing data from one screen to another
问题 I am trying to learn how to use react-native, so I am putting up a small app that fetch a list of users from a server, displays it in a listview and where pressing a row opens a screen displaying user's data. I set up a navigator to go from one screen to another. When pressing on the row I am able to open a new screen but I can't figure how to pass data to this new screen. I set up an navigator in index.android.js import React from 'react'; import { AppRegistry, Navigator, } from 'react