Closed ftb2010 closed 6 years ago
There is no specific code that are related to redux in that library. Could you provide some logs what actually doesn't work?
@datso This is my dva demo,only use index.android.js to test createAccount,await can't be done.Could you please help me to solve it? react-native-dva-starter-master.zip
Please provide the logs that shows the flow and issue. It would be also great if you don't use async for componentWillMount...
componentWillMount() { const endpoint = new Endpoint(); endpoint.start().then((state) => { endpoint.createAccount(...configuration).then((account) => { console.log("Your account", account) }) ) }
let endpoint = new Endpoint(); let state = await endpoint.start(); let account = await endpoint.createAccont(configuration); use this code can't createAccont; no result returned; Could you please update your example using react-navigation and dva?