qfight / react-native-actionsheet-api Goto Github PK
View Code? Open in Web Editor NEWReact Native API Andorid polyfill
License: MIT License
React Native API Andorid polyfill
License: MIT License
android 返回键退出程序后 再次进入应用 无法调起
Hi, on react-native 0.43.4. I get this warning when the action sheet is displayed:
Warning: Each child in an array or iterator should have a unique "key" prop.
Check the render method of `ActionSheet`. See https://fb.me/react-warning-keys for more information.
in View (created by ActionSheet)
in ActionSheet (created by HomeDetailsScreen)
in RCTView (created by View)
in View (created by HomeDetailsScreen)
in HomeDetailsScreen (created by _class)
in _class
in RCTView (created by View)
in View (created by AppContainer)
in RCTView (created by View)
in View (created by AppContainer)
in AppContainer
Warning: Can only update a mounted or mounting component. This usually means you called setState, replaceState, or forceUpdate on an unmounted component. This is a no-op.
Please check the code for the ActionSheet component.
This warning happens on Android, and is freezing the UI, so its quite critical.
I have ActionSheet on two places in my app:
Open screen 1.
Click button to open ActionSheet on screen 1. -> Cancel.
Close screen 1.
Click button to Open ActionSheet on screen 2.
05-29 09:48:36.428 9999 10042 W ReactNativeJS: Warning: Can only update a mounted or mounting component. This usually means you called setState, replaceState, or forceUpdate on an unmounted component. This is a no-op.
05-29 09:48:36.428 9999 10042 W ReactNativeJS:
05-29 09:48:36.428 9999 10042 W ReactNativeJS: Please check the code for the ActionSheet component.
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.