Overview
The Universal Native Boilerplate is a starter project that allows developers to create apps that work well on multiple platforms, including Android, iOS, macOS, server-side rendering, web, and Windows. The project provides built-in tools and optimizations to make the development process easier and more efficient. It is recommended to have familiarity with React and React Native when using this boilerplate.
Features
- Cross-platform support for Android, iOS, macOS, server-side rendering, web, and Windows.
- Easy progressive web app support with webpack 2 and tree shaking.
- URL support and state persistence.
- Reports on page speed, bundle size, and progressive web app stats with gulp analyze web.
- Built-in platform-specific features for web/server.
- React Navigation for consistent navigation across platforms.
- Custom TabNavigator for a consistent experience by default.
- Deep linking support for Android/iOS.
- URL support for web/server.
- Integration with Redux for state management and logic organization.
- Persistent state across sessions with Redux Persist.
- Internationalization support for translating the app into multiple languages.
Installation
- Make sure you have Node.js installed, preferably version 6.8.0 or higher.
- Clone the Universal Native Boilerplate repository.
- Run the command
npm installto install the necessary dependencies. - Run the command
gulp enable <recipe>for each desired platform and feature. - Start building your app using the provided boilerplate.
Summary
The Universal Native Boilerplate is a powerful starter project that allows developers to create cross-platform apps with ease. It provides a range of features and optimizations that make the development process more efficient. By following the installation guide and utilizing the built-in tools, developers can create high-quality apps for multiple platforms.