ninty90 / react-native-redux-demo Goto Github PK
View Code? Open in Web Editor NEWredux demo in react-native app
redux demo in react-native app
actions/user.js#24
我认为这里使用两个属性确定类型会更好一些
dispatch({'type': TYPES.LOGIN,'state': TYPES.DOING});
reducers/use.js#13
if(state.type==='TYPES.LOGIN'){ switch(state.state){ case 'TYPES.DOING': ......... } }
您好,我下载了您的这个项目代码,我注意到您这个只有ios版才能有登录界面。android版只是写了一些文字描述。我想把这个能在android上面运行出结果,我的做法是把index-ios-js里面的文件copy到index-android-js文件里面 但是很不幸的报错了。我想寻求一下您的帮助,应该怎样才能把这些功能可以在android上面运行起来呢 。希望您能指点迷津。如果方便的话 可以回复到我的邮箱里面 [email protected] 谢谢。
到底是哪里不支持android啊~
点击应用icon报错: Error: ENOENT: no such file or directory, lstat '/Users/laileon/Documents/WebProject/react-native-redux-demo/ios/build/ModuleCache/8LLUQBGHBDG2/AVFoundation-2W8OQOO5E005V.pcm-f12df917'
终端转换到98%的时候停住了,项目红屏跑不起来。wechat有弃用方法。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.