已集成:
- code-push
- react-navigation
- redux
- mobx
- 自定义键盘
待集成:
- 极光推送
我的RN脚手架
例如:customKeyboard.js
我发现还要结合 安卓和ios原生才行
1、模拟器debug后,键盘无法弹起(我参考了react-native-yusha-customKeyboard的customKeyboard.js,解决了debug键盘弹不出来的问题)。
2、安卓运行不起来,是否能有更详细的配置环境描述。
3、Remote debugger is in a background tab which may cause apps to perform slowly. Fix this by foregrounding the tab (or opening it in a separate window).
视乎性能上有欠缺,问题不大。
4、按键的事件绑定上 requestAnimationFrame ,有什么作用呢?
RN - 0.44.3
insertText(this.props.tag, value);
在键盘输入的时候能拿到 tag 和 value
但是无法拿到 TextInput 已输入的值
求解?
因为我要对输入的数字进行判断。例如 输入的是金额格式:1234.66
我需要已经输入的数值
例如
_onInput = (value) => {
if ('1234.66'.indexOf('.') >= 0 && value == '.') {
return;
} else {
this.insertTextRequest = requestAnimationFrame(() => {
insertText(this.props.tag, value);
});
}
}
怎么能拿到 TextInput 的 value
下载后,ios运行报错。
Make sure you're running a packager server or have included a.jsbundle file in your application bundle.
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.