Native Starter Kit v5.2.1
React Native + NativeBase + Navigation Experimental + Redux + CodePush Apps (iOS & Android)A Starter Kit for
Brought to you by StrapMobile
React Native + NativeBase + Navigation Experimental + Redux + CodePush apps on iOS and Android.A simple starter project for
No need of reinventing the wheel. To have immediately something to continue building on, it would be best to start from some starter kit for getting React Native - based applications off the ground in a hurry.
This is a starter kit that you can install on the fly to get the basic plumping of React Native with NativeBase, Redux and CodePush.
Technologies used in Native Starter Kit
React Native helps in making the development work easier and allowing the developers to focus on the core app features in every new release. It is the fastest-developing mobile app development that essentially permits you to create an isolated product with often outcomes.
The hymn of React Native — learn once, write anywhere.
NativeBase is a free and open source framework from the team of StrapMobile.
This framework enable developers to build high-quality mobile apps using React Native iOS and Android apps with a fusion of ES6. NativeBase builds a layer on top of React Native that provides you with basic set of components for mobile application development.
The applications stack of components is built using native UI components and because of that, there are no compromises with the User Experience of the applications. NativeBase is targeted specially on the look and feel, and UI interplay of your app.
NativeBase without a doubt fits in well with mobile applications which cut downs one huge part of your app The Front end.
Redux attempts to make state mutations predictable by imposing certain restrictions on how and when updates can happen. These restrictions are reflected in the steps of three.
- The state of whole application is stored in an object tree within a single store.
- The only way to mutate the state is to emit an action, an object describing what happened.
- To specify how the state tree is transformed by actions, you write pure reducers.
NavigationExperimental allows any view to act as a navigation view and using reducers to manipulate state at a top-level object.
React Native Easy Grid is a open source package for grid layout from the team of StrapMobile.
The layout system is an essential concept that needs to be mastered in order to create great layouts and UIs. React Native uses Flexbox to create the layouts, which is great when we need to accommodate our components and views in different screen sizes or even different devices. Flexbox is awesome but it could be tiresome for newbies.
Easy Grid is very powerful and flexible layout system. No more worries about props of Flexbox such as alignItems, flexDirection, justifyContent, margin, padding, position, width etc. You can create any layout with all the available options that we have. Flexbox makes it look like percentages, however what actually is happening is just ratios. On the easier part, ratios are easier to represent than percentage/decimals. For this reason, the Easy Grid takes in ratios in place of percentage. Performance wise, Easy Grid is noteworthy and works as fine as Flexbox, not much of calculation.
More Examples . . .
React Native-NativeBase Seed is a basic configuration that every React Native app must have; brought to you by StrapMobile.
This is open source and perfect for any newbie to start with React Native.
1. System Requirements
Globally installed node >= 4.0
Globally installed npm >= 3.0
Globally installed rnpm (only if React Native version < 0.29)
Globally installed react-native CLI
Install CodePush globally and get keys for your app.
On the command prompt run the following commands
$ git clone https://github.com/start-react/native-starter-kit.git $ cd native-starter-kit/ $ npm install
If React Native < 0.29
If React Native >= 0.29
$ react-native link
CodePush plugin installation and key deployment.
3. Simulate for iOS
Open the project in XCode from ios/NativeStarterKit.xcodeproj
Hit the play button.
- Run the following command in your terminal
$ react-native run-ios
4. Simulate for Android
Make sure you have an Android emulator installed and running.
Run the following command in your terminal
$ react-native run-android
Note: If you are building Native Starter Kit for first time on your system, please follow Method One to simulate on iOS. (To link the CodePush plugin through Xcode for iOS)
For apps with more advance designs, please visit StrapMobile.