Comments (5)
问题2:给出具体问题
问题3:这是RN都有的,debug下,要把debug页面放前台就好,也可以使用:https://github.com/jhen0409/react-native-debugger
问题4:这是一个性能优化点,可参考:https://reactnative.cn/docs/0.51/performance.html#content
from myrnstartkit.
customKeyboard.js
_onChangeText = (text) => {
this.setState({text});
this.props.onChangeText && this.props.onChangeText(text);
}
赋值后才执行回调,导致行为不同步,建议如下更改:
_onChangeText = (text) => {
this.setState({text}, () => {
this.props.onChangeText && this.props.onChangeText(text);
});
}
或者直接去掉 this.setState({text});
from myrnstartkit.
安卓的报错是:
Cannot read property 'install' of undefined
from myrnstartkit.
我运行android没有这种报错,建议load本地服务器,不要使用离线包,或者打开debug模式调调
from myrnstartkit.
已经解决了,谢谢。
from myrnstartkit.
Related Issues (5)
- IOS 加起来 启动xcode 报错 HOT 1
- 求指教,自定义键盘可以剥离出来关键文件么? HOT 2
- No bundle URL present. HOT 4
- 监听输入的问题 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from myrnstartkit.