Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #35963

cost {} = ? (React Native)

From CantReact <CantReact@please.nospam>
Newsgroups comp.lang.javascript
Subject cost {} = ? (React Native)
Date 2019-01-15 17:23 -0500
Organization Aioe.org NNTP Server
Message-ID <q1lmg6$10cn$1@gioia.aioe.org> (permalink)

Show all headers | View raw


Hi, looking at some React Native examples and I see things like this:

const {
   FooterComponent,
   HeaderComponent,
   ItemComponent,
   ListEmptyComponent,
   ItemSeparatorComponent,
   PlainInput,
   SeparatorComponent,
   Spindicator,
   genItemData,
   getItemLayout,
   pressItem,
   renderSmallSwitchOption,
} = require('./ListExampleShared');

or this:

const {
   Animated,
   Image,
   Platform,
   TouchableHighlight,
   StyleSheet,
   Switch,
   Text,
   TextInput,
   View,
} = ReactNative;

What is this? Some kind of import? Can anyone explain the logic behind this?

Thank you

Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

cost {} = ? (React Native) CantReact <CantReact@please.nospam> - 2019-01-15 17:23 -0500
  Re: cost {} = ? (React Native) CantReact <CantReact@please.nospam> - 2019-01-15 18:34 -0500
  Re: cost {} = ? (React Native) Jon Ribbens <jon+usenet@unequivocal.eu> - 2019-01-16 11:32 +0000
    Re: cost {} = ? (React Native) Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2019-01-16 22:03 +0100
      Re: cost {} = ? (React Native) "Mark-" <nospam@mapson.xyz> - 2019-01-17 02:19 +0000
      Re: cost {} = ? (React Native) CantReact <CantReact@please.nospam> - 2019-01-17 22:41 -0500
    Re: cost {} = ? (React Native) CantReact <CantReact@please.nospam> - 2019-01-17 22:37 -0500

csiph-web