1.1.0 • Published 5 years ago

react-native-template-ihenrits-basic v1.1.0

Weekly downloads
35
License
-
Repository
-
Last release
5 years ago

React Native Template ihenrits-basic

This project aims to create a model that can be used at the time of creating projects using React Native, taking into account that the process of creating the development environment requires some time delaying the development process.

Running

react-native init AwesomeExample --template ihenrits-basic

What was used

  • React Native;
  • React Navigation;
  • React Native Gesture Handler;
  • Async Storage;
  • Axios;
  • Prop-Types;
  • Styled-Components;
  • Reactotron;
    • reactotron-react-native;
  • EditorConfig;
  • Prettier;
  • Babel;
    • babel-eslint;
    • babel-plugin-root-import;
  • Eslint;
    • eslint-config-airbnb;
    • eslint-plugin-import;
    • eslint-plugin-jsx-a11y;
    • eslint-plugin-react;
    • eslint-plugin-react-native;
    • eslint-import-resolver-babel-plugin-root-import;

Instructions

  • Delete the App.js file that is in the root of the project.(The "App.js" that you will use is located in the src folder with the name index.js);
  • If you want to use React DevTools add "react-devtool": "react-devtools" in your script in package.json
  • A few more steps needed for Android:
    • Copy the local.properties file that is in the root of the project and paste it into the android folder.
    • Change the path of your Sdk folder in the local.properties file.
    • Go to the: android > app > src > main > java > com > your_project_name > MainActivity.java
    • Access: https://reactnavigation.org/docs/en/getting-started.html
    • Follow the instructions to add the required codes in MainActivity.java
    • All ready!

File Structure

ihenrits-basic
├── src/
│   ├── config/
│   │   └── DevToolsConfig.js
│   │   └── ReactotronConfig.js
│   ├── images/
│   ├── pages/
│   │   └── Main/
│   │       └── index.js
│   ├── services/
│   │   └── api.js
│   ├── styles/
│   ├── index.js
│   └── routes.js
├── babel.config
├── dependencies.json
├── devDependecies.json
├── index.js
├── jsconfig.json
├── local.properties
├── package.json
├── .editorconfig
├── .eslintrc.json
├── .gitattributes
├── .gitignore
├── .prettierrc

Contributor

1.1.0

5 years ago

1.0.0

5 years ago

0.2.4

5 years ago

0.2.3

5 years ago

0.1.2

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago