mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-26 07:04:05 +08:00
Make component registration in UIExplorerApp explicit
Summary: Currently, the components get registered by `UIExplorerApp.ios.js` as a side effect of requiring `UIExplorerList.ios.js`. This removes the side effect and makes the registration explicit so that it works well with inline requires. public Reviewed By: jingc Differential Revision: D2613174 fb-gh-sync-id: 799dd8b11985708b05fc4c03f367487b47f46bc6
This commit is contained in:
committed by
facebook-github-bot-5
parent
2519d25992
commit
db229aab87
@@ -73,5 +73,6 @@ var styles = StyleSheet.create({
|
||||
});
|
||||
|
||||
AppRegistry.registerComponent('UIExplorerApp', () => UIExplorerApp);
|
||||
UIExplorerList.registerComponents();
|
||||
|
||||
module.exports = UIExplorerApp;
|
||||
|
||||
Reference in New Issue
Block a user