0.64.0 • Published 3 years ago

react-native-globals v0.64.0

Weekly downloads
163
License
ISC
Repository
github
Last release
3 years ago

react-native-globals Speeds development up for project specific components, it assigns react native apis and components to the global scope so you don't have to worry/diagnose several imports for every page/widget.

import 'react-native-globals';
const TheComponent = class extends React.Component {
   displayName: 'TheComponent';

   constructor (props, context) {
       super(props, context);
       this.state = {};
   }

   render () {
       return (
           <View>
               <Text>Hi I didn't have to import anything to start making this component</Text>
           </View>
       );
   }
};

module.exports = TheComponent;

note: this is part of the 1% where I feel using global scope is fine and helps development.

Since react-native v 0.44.0 this package will keep inline to react native versioning

0.64.0

3 years ago

0.62.0

4 years ago

0.60.4

4 years ago

0.60.3

5 years ago

0.60.2

5 years ago

0.60.1

5 years ago

0.60.0

5 years ago

0.59.0

5 years ago

0.50.0

7 years ago

0.44.0

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago