All Projects → Migu33l → Reactnativeexpo.js

Migu33l / Reactnativeexpo.js

Licence: mit
An React Native Starter Kit with Expo + NativeBase + Best configuration for VSCode IDE.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Reactnativeexpo.js

Vscode React Native
VSCode extension for React Native - supports debugging and editor integration
Stars: ✭ 2,366 (+6294.59%)
Mutual labels:  vscode, expo
Vscode Extension
Red extension for Visual Studio Code
Stars: ✭ 34 (-8.11%)
Mutual labels:  vscode
Without Guns For Vs Code
Visual Studio Code extension that teaches you mindful programming
Stars: ✭ 14 (-62.16%)
Mutual labels:  vscode
Flixel Templates
Project templates for HaxeFlixel
Stars: ✭ 30 (-18.92%)
Mutual labels:  vscode
Vscode Material Theme
Port of the sublime text Material theme for Visual Studio Code in light and dark.
Stars: ✭ 21 (-43.24%)
Mutual labels:  vscode
React Native Helpers
All helpers in one; iPhone series support, dimensions helper, hasNotch helper, normalize text helper and text helpers for React Native with very easy useEasy to use & awesome helpers for React Native.
Stars: ✭ 31 (-16.22%)
Mutual labels:  expo
Amet
🐳 Containerized Development Environment
Stars: ✭ 12 (-67.57%)
Mutual labels:  vscode
Vs Code Extension Doc Zh
VS Code插件开发文档-中文版
Stars: ✭ 982 (+2554.05%)
Mutual labels:  vscode
Cn Vscode Docs
VScode说明文档翻译
Stars: ✭ 970 (+2521.62%)
Mutual labels:  vscode
Xtream Iptv Player Reactnative
Stars: ✭ 30 (-18.92%)
Mutual labels:  expo
Atomize
A detailed and accurate Atom One Dark Theme for VS Code
Stars: ✭ 30 (-18.92%)
Mutual labels:  vscode
Theme Bear
🐻 A VSCode dark theme 🐻
Stars: ✭ 27 (-27.03%)
Mutual labels:  vscode
Vscode Quasar Snippets
vscode snippets for quasar-framework
Stars: ✭ 33 (-10.81%)
Mutual labels:  vscode
Pound Random
Expo Blue - a discussion app for small groups
Stars: ✭ 21 (-43.24%)
Mutual labels:  expo
Hashlink Debugger
Visual Studio Code Debugger for Haxe/HashLink applications
Stars: ✭ 35 (-5.41%)
Mutual labels:  vscode
Vscode Intelephense
PHP intellisense for Visual Studio Code
Stars: ✭ 872 (+2256.76%)
Mutual labels:  vscode
React Native Number Please
🔢 Generate react-native pickers with range numbers.
Stars: ✭ 30 (-18.92%)
Mutual labels:  expo
Vscode Wordpress Hooks
VS Code extension for autocomplete support for WordPress actions and filters
Stars: ✭ 31 (-16.22%)
Mutual labels:  vscode
Go Starter
An opinionated production-ready SQL-/Swagger-first RESTful JSON API written in Go, highly integrated with VSCode DevContainers by allaboutapps.
Stars: ✭ 37 (+0%)
Mutual labels:  vscode
Instabyte
Clone of Instagram made with React Native
Stars: ✭ 36 (-2.7%)
Mutual labels:  expo


An React Native Starter Kit with Expo + NativeBase + Best configuration for VSCode IDE.

GitHub release Stack Share Stack Share GitHub last commit GitHub code size in bytes


Breaking Changes in v2:

With the new releases from React Native and Expo, I need to update the project for continuous working. Version 1 is not working anymore and is replaced by version 2. If you want to know how to update version 1 to version 2, you can read it here in a post:

Updating ReactNativeExpo.js v1 to v2


Buy Me A Coffee

This repository will help you to start your fresh new React Native project with Expo using the best practices to accelerate your coding.

  • Ready to build with Expo.
  • NativeBase integration. Best UI Kit for React Native.
  • Domain-Driven file structure.
  • Best configurations for VSCode.
  • Module Resolver for fixing Relative Paths.
  • Best Linting settings and complements.
  • Ready to work with Prettier, Eslint integrations, and best practices.
  • Redux, Redux-thunk, and Redux-persist for manage state.

Table of contents

Installation

Clone or download the repository and install the dependencies

# Clone the repository
git clone --depth 1 <https://github.com/boadude/React-Native-Expo-Starter.git>

# Go to React-Native-Expo-Starter directory
cd React-Native-Expo-Starter

# Install dependencies
npm install

# Start the project with Expo
npm start

Now, open Expo app on your Android or iPhone phone and scan the QR Code or go to the exp url. If you want, you can start a device simulator, follow the instructions in your console.

Configuration

To ensure our work, we use Visual Studio Code and a few add-ons that will make our job much cleaner and professional.

Visual Studio Code

Just go to Visual Studio Code webpage and download. Follow the installation instruction and that its.

Add-ons

To install the add-ons necessary to work faster and cleaner, we must go to the extension icon on the left panel and search all the add-on and installed.

Optional

File Structure

The repository uses the Domain-Driven File Structure.

react-native-expo-starter/
 ├──.expo/                         * configuration for expo
 ├──.vscode/                       * configuration for vscode ide
 │   └──settings.json              * configurations for vscode and path intellisense
 ├──docs/                          * images for the repository (you can delete this folder)
 ├──src/                           * source files
 │   │
 │   ├──app/                       * app configurations
 │   │   ├──reducers.js            * configurations for the reducers
 │   │   └──store.js               * configurations for the store
 │   │
 │   ├──assets/                    * static assets
 │   │   ├──fonts/                 * customs fonts
 │   │   ├──images/                * images
 │   │   └──native-base-theme/     * nativebase theme for custom configurations
 │   │
 │   ├──common/                    * common components
 │   │
 │   ├──components/                * components source
 │   │   ├──dashboard/             * dashboard component
 │   │   ├──loading/               * loading component
 │   │   └──login/                 * login component
 │   │      ├──Login.js            * login container
 │   │      ├──LoginActions.js     * login actions
 │   │      ├──LoginReducers.js    * login reducers
 │   │      └──LoginStyles.js      * login styles
 │   │
 │   └──constants/                 * constants and customs
 │       ├──constants.js           * global constants
 │       └──errors.js              * custom errors messages
 │
 ├──.editorconfig                  * configuration for vscode
 ├──.eslintrc                      * configuration for eslint
 ├──.flowconfig                    * configuration for flow
 ├──babel.config.js                * configuration for module-resolver and babel
 ├──App.js                         * initial configuration for start the project
 ├──app.json                       * configuration por expo
 ├──index.js                       * expo starter
 ├──jsconfig.json                  * configuration for compiler
 └──package.json                   * what npm uses to manage its dependencies

Troubleshooting

Running iOS React Native

If you want to open the app on React Native, you can do it running:

npm run ios

Must be aware, if you are using Mac must install CocoaPods and run the installation process in the folder '/ios'

sudo gem install cocoapods
pod install

Native-base LTS

The project uses Native-base for developing UI. The latest version to date has a problem with a Font that uses and can't found in the dependency '@expo/vector-icons'.

/Users/boamacbookpro/Projects/reactNativeStarter/node_modules/native-base/dist/src/basic/IconNB.js
Module not found: Can't resolve '@expo/vector-icons/Fontisto' in '/Users/boamacbookpro/Projects/reactNativeStarter/node_modules/native-base/dist/src/basic'

For the moment, the only way to fix this is by installing version 2.13.8.

npm i -S [email protected]

Update Native-base

If you want to update Native-base to the newest version, you must follow the next steps:

# Extract the 'native-base-theme' in the root of the project
node node_modules/native-base/ejectTheme.js

# Replace 'src/assets/native-base-theme'for the newly copy 'native-base-theme' in the root folder
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].