-
Notifications
You must be signed in to change notification settings - Fork 25.1k
Expose additional private modules #3308
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,6 +20,7 @@ | |
| var ReactNative = Object.assign(Object.create(require('React')), { | ||
| // Components | ||
| ActivityIndicatorIOS: require('ActivityIndicatorIOS'), | ||
| ART: require('ReactNativeART'), | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ultimately, this will go into the
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That's great to hear, I think that's the right place for it cc @ide
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah that's great. Would be good to get to a state where you pay for only what you use, for most of the components & modules. |
||
| DatePickerIOS: require('DatePickerIOS'), | ||
| DrawerLayoutAndroid: require('DrawerLayoutAndroid'), | ||
| Image: require('Image'), | ||
|
|
@@ -43,6 +44,7 @@ var ReactNative = Object.assign(Object.create(require('React')), { | |
| TextInput: require('TextInput'), | ||
| ToastAndroid: require('ToastAndroid'), | ||
| ToolbarAndroid: require('ToolbarAndroid'), | ||
| Touchable: require('Touchable'), | ||
| TouchableHighlight: require('TouchableHighlight'), | ||
| TouchableNativeFeedback: require('TouchableNativeFeedback'), | ||
| TouchableOpacity: require('TouchableOpacity'), | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like to move this logic to React and decouple this from styles. The refactoring I've done has decoupled this logic from the
styleprop.This is similar to the
React.Children.toArrayhelper so something like that onReactmight make sense.It doesn't really hurt to have it here too for now but I don't think it ultimately belongs here.