use -> https://momentjs.com/
git clone https://github.com/Idrottskoll/idrottskoll-app.git <My App Name>
cd idrottskollApp <My App Name>
npm install- Copy the file
config_example.jsand rename it toconfig.jsfile path:/src/actions/config_example.js - Add your credentials in
config.js - Run
react-native link && npm run start - Double click on the file
idrottskollApp.xcodeprojlocated in/ios(this will invoke xcode so you can compile the application)
"axios": "^0.16.2",
"react": "16.0.0-alpha.12",
"react-native": "0.48.4",
"react-navigation": "^1.0.0-beta.13",
"react-redux": "^5.0.6",
"redux": "^3.7.2",
"redux-form": "^5.2.4",
"redux-thunk": "^2.2.0"- Most important: Look around. Match the style you see used in the rest of the project. This includes formatting, naming things in code, naming things in documentation.
- Add trailing commas,
- 4 spaces for indentation (no tabs)
- Use semicolons
; - ES6 standards
airbnb - Prefer
'over" - 80 character line length
- Do NOT use
varwhen declaring a variable
- Prefer
"over'for string literal props - When wrapping opening tags over multiple lines, place one prop per line
{}of props should hug their values (no spaces)- Place the closing
>of opening tags on the same line as the last prop - Place the closing
/>of self-closing tags on their own line and left-align them with the opening<