Skip to content

Commit

Permalink
feat: update lazy import (#602)
Browse files Browse the repository at this point in the history
Summary:
**Summary**

Updated the lazy-import config to match the `index.js` of currently released react-native version
https://github.com/facebook/react-native/blob/0.63-stable/index.js

**Test plan**
pass unit test
be able to import added modules

Pull Request resolved: #602

Reviewed By: MichaReiser

Differential Revision: D24883577

Pulled By: cpojer

fbshipit-source-id: 5389279d41c825d7c606d1f28e9b49a8aa35e66e
  • Loading branch information
Naturalclar authored and facebook-github-bot committed Nov 13, 2020
1 parent 4b42bfc commit 2dbd3ba
Showing 1 changed file with 3 additions and 4 deletions.
Expand Up @@ -17,7 +17,6 @@ module.exports = new Set([
'AccessibilityInfo',
'ActivityIndicator',
'Button',
'CheckBox',
'DatePickerIOS',
'DrawerLayoutAndroid',
'FlatList',
Expand All @@ -29,6 +28,7 @@ module.exports = new Set([
'Modal',
'Picker',
'PickerIOS',
'Pressable',
'ProgressBarAndroid',
'ProgressViewIOS',
'SafeAreaView',
Expand All @@ -39,7 +39,6 @@ module.exports = new Set([
'Switch',
'RefreshControl',
'StatusBar',
'SwipeableFlatList',
'Text',
'TextInput',
'Touchable',
Expand All @@ -49,16 +48,17 @@ module.exports = new Set([
'TouchableWithoutFeedback',
'View',
'VirtualizedList',
'VirtualizedSectionList',

// APIs
'ActionSheetIOS',
'Alert',
'Animated',
'Appearance',
'AppRegistry',
'AppState',
'AsyncStorage',
'BackHandler',
'CameraRoll',
'Clipboard',
'DatePickerAndroid',
'DeviceInfo',
Expand Down Expand Up @@ -87,7 +87,6 @@ module.exports = new Set([
'ReactNative',
'UTFSequence',
'Vibration',
'YellowBox',

// Plugins
'RCTDeviceEventEmitter',
Expand Down

0 comments on commit 2dbd3ba

Please sign in to comment.