GithubHelp home page GithubHelp logo

inovando / react-native-template-inovando Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 8.49 MB

:iphone: Inovando's template for react-native-cli https://www.npmjs.com/package/react-native-template-inovando

License: MIT License

JavaScript 100.00%
reactjs reactotron react-native react-navigation styled-components react-devtools eslint prettier axios formik

react-native-template-inovando's Introduction

react-native-template-inovando

📱 Inovando's template for react-native-cli

NPM version code style: prettier

Package Main Techs

Preview

iOS Android
Template iOS Preview Template Android Preview

Usage

  1. Initialize your RN project with this command:
react-native init AwesomeProject --template inovando
  1. Delete ~/App.js

  2. Duplicate .env.example to .env and .env.production fulfilling variables as needed

  3. Add these lines at .gitignore

# Environment
.env
.env.production
  1. Done 🎉

Android

For Reactotron debug in Android, run this command:

adb reverse tcp:9090 tcp:9090

MacOS "Network Error"

  1. Go to "Open Network Preferences" > "Advanced..." > "DNS" Tab and add 8.8.8.8.

Mac DNS 8.8.8.8 network config to prevent error in AVD

  1. Restart your AVD.

Android restar AVD

  1. It should work fine! 🎉

Scripts

yarn react-devtools

Inspect elements with React Devtools. Open the in-app developer menu and choose "Toggle Inspector" then click/press any element in your App, it will show up in React Devtools Window.

Read More

Deploy

This command will also deploy to Yarn.

npm publish --access public

Features

react-native-template-inovando's People

Contributors

santospatrick avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

react-native-template-inovando's Issues

criar abstração de formulários

Criar exemplo de formulário com Formik e inputs com máscara

  • react-native-masked-text (lembrar da prop includeRawValueInChangeText)
  • formik (lembrar de usar setFieldValue())
  • Criar prop handleChange pra facilitar buscar no back-end de campos específicos do formulário
  • Usar forwardRef e criar prop innerRef

criar layouts comuns

Criar layout para views com formulário (ex: FormView.js com KeyboardAvoidingView, ScrollView e SafeAreaView)

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.