Skip to content

Commit

Permalink
Upgrade React Native 0.57.1 and Expo
Browse files Browse the repository at this point in the history
Switching to Expo since it makes upgrades easier and is the default
starting point for React Native these days.
  • Loading branch information
Bruz Marzolf committed Dec 19, 2018
1 parent 23eb5e2 commit f532f92
Show file tree
Hide file tree
Showing 60 changed files with 8,113 additions and 7,449 deletions.
3 changes: 0 additions & 3 deletions .babelrc

This file was deleted.

6 changes: 0 additions & 6 deletions .buckconfig

This file was deleted.

34 changes: 0 additions & 34 deletions .eslintrc

This file was deleted.

66 changes: 0 additions & 66 deletions .flowconfig

This file was deleted.

1 change: 0 additions & 1 deletion .gitattributes

This file was deleted.

61 changes: 7 additions & 54 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,55 +1,8 @@
# OSX
#
.DS_Store

# Xcode
#
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate
project.xcworkspace

# Android/IJ
#
*.iml
.idea
.gradle
local.properties

# node.js
#
node_modules/
npm-debug.log

# Config
#
node_modules/**/*
.expo/*
npm-debug.*
*.jks
*.p12
*.key
*.mobileprovision
/config.js

# BUCK
buck-out/
\.buckd/
*.keystore

# fastlane
#
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
# screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://docs.fastlane.tools/best-practices/source-control/

*/fastlane/report.xml
*/fastlane/Preview.html
*/fastlane/screenshots
2 changes: 1 addition & 1 deletion .watchmanconfig
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{}
{}
6 changes: 2 additions & 4 deletions index.js → App.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import React, { Component } from 'react'
import { AppRegistry } from 'react-native'
import { AppRegistry, View } from 'react-native'
import { Provider } from 'react-redux'
import App from './src/containers/App'
import configureStore from './src/store/configureStore'

const store = configureStore()

class Groceries extends Component {
export default class Groceries extends Component {
render() {
return (
<Provider store={store}>
Expand All @@ -15,5 +15,3 @@ class Groceries extends Component {
)
}
}

AppRegistry.registerComponent('Groceries', () => Groceries)
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ A simple grocery list app using React Native, Redux, Firebase, and Async Storage
Built and tested with:

* OS X / macOS
* Node 7
* Xcode 8
* Node 10
* Xcode 10
* Android SDK

A [Firebase](https://firebase.google.com) account is also needed. The security rules for the database must be set to public, since this app doesn't implement authentication. In the [Firebase Console](https://firebase.google.com/console/) under the Database section, Rules tab, change the rules to:
Expand Down
66 changes: 0 additions & 66 deletions android/app/BUCK

This file was deleted.

Loading

0 comments on commit f532f92

Please sign in to comment.