Giter VIP home page Giter VIP logo

handi-dev / react-native-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
120.0 7.0 39.0 2.72 MB

React Native Boilerplate - React Native Starter Kits : react-navigation and its dependencies, redux, redux persist and redux thunk, redux toolkit, react native vector icons, react-native async storage

Home Page: https://handi.dev/blog/best-react-native-boilerplate-2021

JavaScript 7.86% Ruby 11.29% Objective-C 12.81% Objective-C++ 4.53% TypeScript 48.46% Kotlin 15.05%
react-native react-native-boilerplate react-native-component react-native-component-starter react-redux react redux redux-thunk cocoapods android

react-native-boilerplate's Introduction

react-native-boilerplate-template 2024

npm Conventional Commits

What is React Native Boilerplate 2024

It is a template that you can clone and reuse for every project. It is starting point for React Native application.

Wanna use React Native TypeScript Boilerplate ?

check it out here React Native TypeScript Boilerplate

React Native Boilerplate ( 0.73.1 )

consist of:

  • "react-native": "0.73.1",
  • "@react-native-masked-view/masked-view": "^0.3.1",
  • "@react-navigation/bottom-tabs": "^6.5.11",
  • "@react-navigation/material-top-tabs": "^6.6.5",
  • "@react-navigation/native": "^6.1.9",
  • "@react-navigation/native-stack": "^6.9.17",
  • "@react-navigation/stack": "^6.3.20",
  • "react": "18.2.0",
  • "react-native-gesture-handler": "^2.14.0",
  • "react-native-pager-view": "^6.2.3",
  • "react-native-safe-area-context": "^4.8.2",
  • "react-native-screens": "^3.29.0",
  • "react-native-tab-view": "^3.5.2",
  • "react-native-vector-icons": "^10.0.3"

Requirements

Node 18 or greater is required. Development for iOS requires a Mac and Xcode 10 or up, and will target iOS 11 and up.

You also need to install the dependencies required by React Native.
Go to the React Native environment setup, then select React Native CLI Quickstart tab.
Follow instructions for your given development OS and target OS.

QUICK START

To create a new project using the boilerplate simply run :

npx react-native init MyApp --template @handidev/react-native-boilerplate

If you want to use typescript version of this React Native Boilerplate, just run this command:

npx react-native init MyApp --template @handidev/react-native-typescript-boilerplate

note: replace MyApp with your desired App name.

Assuming you have all the requirements installed, you can run the project by running:

  • yarn start / npm start -- -- reset-cache to start the metro bundler, in a dedicated terminal
  • npx react-native run-ios / npx react-native run-android to run the platform application (remember to start a simulator or connect a device)

List of Q & A

I got error Error: spawn ./gradlew EACCES when run npx react-native run-android.

Run this command chmod 755 android/gradlew from your root project directory

I got error Error: SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable.

  • Go to your Project -> Android

  • Create a file local.properties

  • Open the file

  • Paste your Android SDK path depending on the operating system:

    • Windows: sdk.dir=C:\Users\USERNAME\AppData\Local\Android\sdk
    • Linux or MacOS sdk.dir=/Users/USERNAME/Library/Android/sdk
  • Replace USERNAME with your PC username

React Native Build Failed on M1 Macbook Pro / Air

try this solution: How to Run and Build React Native on Macbook Pro M1 Apple Silicon

react-native-boilerplate's People

Contributors

handidev avatar handipriyono avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

react-native-boilerplate's Issues

App getting stuck

Hi Thanks for the boilerplate this will save time.
But i am facing some issues like the screen or app just get sucked like to touch response can't scroll.
i have to restart the app and rebuild than its works but only for few mins after that it get sucked
so just want to know any one facing this problem or its only me.

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.