Skip to content

Commit

Permalink
Move examples to separate directory for now
Browse files Browse the repository at this point in the history
  • Loading branch information
tannerlinsley committed Dec 7, 2018
1 parent c270bc8 commit 5f8ff59
Show file tree
Hide file tree
Showing 651 changed files with 2,025 additions and 41,175 deletions.
5 changes: 5 additions & 0 deletions .prettierrc
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"semi": false,
"singleQuote": true,
"trailingComma": "es5"
}
7 changes: 0 additions & 7 deletions .prettierrc.js

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
"dependencies": { "dependencies": {
"algoliasearch": "^3.24.11", "algoliasearch": "^3.24.11",
"axios": "^0.18.0", "axios": "^0.18.0",
"react-instantsearch": "^5.3.1", "react-instantsearch": "^5.3.2",
"react-static": "^6.0.0-beta.30" "react-static": "^6.0.0-beta.30"
}, },
"devDependencies": { "devDependencies": {
"eslint-config-react-tools": "1.x.x", "eslint-config-react-tools": "1.x.x",
"serve": "^10.0.2" "serve": "^10.1.1"
}, },
"gitHead": "350700130b7501622eac16aa139107c684b62b01" "gitHead": "350700130b7501622eac16aa139107c684b62b01"
} }
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
}, },
"devDependencies": { "devDependencies": {
"eslint-config-react-tools": "1.x.x", "eslint-config-react-tools": "1.x.x",
"serve": "^10.0.2" "serve": "^10.1.1"
}, },
"gitHead": "350700130b7501622eac16aa139107c684b62b01" "gitHead": "350700130b7501622eac16aa139107c684b62b01"
} }
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -10,21 +10,21 @@
"serve": "serve dist -p 3000" "serve": "serve dist -p 3000"
}, },
"dependencies": { "dependencies": {
"apollo-cache-inmemory": "^1.0.0", "apollo-cache-inmemory": "^1.3.9",
"apollo-client": "^2.0.1", "apollo-client": "^2.4.5",
"apollo-link-http": "^1.1.0", "apollo-link-http": "^1.1.0",
"axios": "^0.18.0", "axios": "^0.18.0",
"graphql": "^14.0.2", "graphql": "^14.0.2",
"graphql-tag": "^2.5.0", "graphql-tag": "^2.5.0",
"json-loader": "^0.5.7", "json-loader": "^0.5.7",
"react-apollo": "^2.0.0", "react-apollo": "^2.0.0",
"react-redux": "^5.0.6", "react-redux": "^5.1.1",
"react-static": "^6.0.0-beta.30", "react-static": "^6.0.0-beta.30",
"redux": "^4.0.0" "redux": "^4.0.1"
}, },
"devDependencies": { "devDependencies": {
"eslint-config-react-tools": "1.x.x", "eslint-config-react-tools": "1.x.x",
"serve": "^10.0.2" "serve": "^10.1.1"
}, },
"gitHead": "350700130b7501622eac16aa139107c684b62b01" "gitHead": "350700130b7501622eac16aa139107c684b62b01"
} }
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"serve": "serve dist -p 3000" "serve": "serve dist -p 3000"
}, },
"dependencies": { "dependencies": {
"apollo-cache-inmemory": "^1.0.0", "apollo-cache-inmemory": "^1.3.9",
"apollo-client": "^2.0.1", "apollo-client": "^2.4.5",
"apollo-link-http": "^1.1.0", "apollo-link-http": "^1.1.0",
"axios": "^0.18.0", "axios": "^0.18.0",
"graphql": "^14.0.2", "graphql": "^14.0.2",
Expand All @@ -22,7 +22,7 @@
}, },
"devDependencies": { "devDependencies": {
"eslint-config-react-tools": "1.x.x", "eslint-config-react-tools": "1.x.x",
"serve": "^10.0.2" "serve": "^10.1.1"
}, },
"gitHead": "350700130b7501622eac16aa139107c684b62b01" "gitHead": "350700130b7501622eac16aa139107c684b62b01"
} }
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
}, },
"devDependencies": { "devDependencies": {
"eslint-config-react-tools": "1.x.x", "eslint-config-react-tools": "1.x.x",
"serve": "^10.0.2" "serve": "^10.1.1"
}, },
"gitHead": "350700130b7501622eac16aa139107c684b62b01" "gitHead": "350700130b7501622eac16aa139107c684b62b01"
} }
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@
"dependencies": { "dependencies": {
"@reach/router": "^1.2.1", "@reach/router": "^1.2.1",
"axios": "^0.18.0", "axios": "^0.18.0",
"react": "^16.5.2", "react": "^16.7.0-alpha.0",
"react-dom": "^16.7.0-alpha.0",
"react-static": "^6.0.0-beta.30" "react-static": "^6.0.0-beta.30"
}, },
"devDependencies": { "devDependencies": {
"eslint-config-react-tools": "1.x.x", "eslint-config-react-tools": "1.x.x",
"serve": "10.0.2" "serve": "10.1.1"
}, },
"gitHead": "350700130b7501622eac16aa139107c684b62b01" "gitHead": "350700130b7501622eac16aa139107c684b62b01"
} }
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Original file line Diff line number Diff line change
@@ -1,6 +1,5 @@
import React from 'react' import React from 'react'
import ReactDOM from 'react-dom' import ReactDOM from 'react-dom'
import { AppContainer } from 'react-hot-loader'


// Your top level component // Your top level component
import App from './App' import App from './App'
Expand All @@ -14,12 +13,7 @@ if (typeof document !== 'undefined') {
? ReactDOM.render ? ReactDOM.render
: ReactDOM.hydrate || ReactDOM.render : ReactDOM.hydrate || ReactDOM.render
const render = Comp => { const render = Comp => {
renderMethod( renderMethod(<Comp />, document.getElementById('root'))
<AppContainer>
<Comp />
</AppContainer>,
document.getElementById('root')
)
} }


// Render! // Render!
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
}, },
"devDependencies": { "devDependencies": {
"eslint-config-react-tools": "1.x.x", "eslint-config-react-tools": "1.x.x",
"serve": "^10.0.2" "serve": "^10.1.1"
}, },
"gitHead": "350700130b7501622eac16aa139107c684b62b01" "gitHead": "350700130b7501622eac16aa139107c684b62b01"
} }
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@
"serve": "serve dist -p 3000" "serve": "serve dist -p 3000"
}, },
"dependencies": { "dependencies": {
"contentful": "^7.0.3", "contentful": "^7.0.5",
"lodash": "^4.17.10", "lodash": "^4.17.10",
"moment": "^2.20.1", "moment": "^2.20.1",
"react": "^16.0.0", "react": "^16.6.3",
"react-dom": "^16.0.0", "react-dom": "^16.6.3",
"react-hot-loader": "^4.0.0-beta.21", "react-hot-loader": "^4.3.12",
"react-markdown": "^4.0.2", "react-markdown": "^4.0.3",
"react-moment": "^0.8.1", "react-moment": "^0.8.3",
"react-router": "^4.2.0", "react-router": "^4.2.0",
"react-static": "^6.0.0-beta.30" "react-static": "^6.0.0-beta.30"
}, },
"devDependencies": { "devDependencies": {
"eslint-config-react-tools": "1.x.x", "eslint-config-react-tools": "1.x.x",
"serve": "^10.0.2" "serve": "^10.1.1"
}, },
"gitHead": "350700130b7501622eac16aa139107c684b62b01" "gitHead": "350700130b7501622eac16aa139107c684b62b01"
} }
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
"cordova-ios": "^4.5.3", "cordova-ios": "^4.5.3",
"cordova-plugin-compat": "^1.2.0", "cordova-plugin-compat": "^1.2.0",
"cordova-plugin-geolocation": "^4.0.1", "cordova-plugin-geolocation": "^4.0.1",
"cordova-plugin-ionic-webview": "^2.2.0", "cordova-plugin-ionic-webview": "^2.2.3",
"cordova-plugin-whitelist": "^1.3.2", "cordova-plugin-whitelist": "^1.3.2",
"react-static": "^6.0.0-beta.30", "react-static": "^6.0.0-beta.30",
"styled-components": "^3.4.9", "styled-components": "^4.1.1",
"webpack-cordova-plugin": "^0.1.6" "webpack-cordova-plugin": "^0.1.6"
}, },
"devDependencies": { "devDependencies": {
"eslint-config-react-tools": "1.x.x", "eslint-config-react-tools": "1.x.x",
"serve": "^10.0.2" "serve": "^10.1.1"
}, },
"cordova": { "cordova": {
"plugins": { "plugins": {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
}, },
"devDependencies": { "devDependencies": {
"eslint-config-react-tools": "1.x.x", "eslint-config-react-tools": "1.x.x",
"serve": "^10.0.2" "serve": "^10.1.1"
}, },
"gitHead": "350700130b7501622eac16aa139107c684b62b01" "gitHead": "350700130b7501622eac16aa139107c684b62b01"
} }
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
"react-smackdown": "^1.0.0-beta.3", "react-smackdown": "^1.0.0-beta.3",
"react-static": "^6.0.0-beta.30", "react-static": "^6.0.0-beta.30",
"reprism": "^0.0.11", "reprism": "^0.0.11",
"styled-components": "^3" "styled-components": "^4.1.1"
}, },
"devDependencies": { "devDependencies": {
"babel-plugin-styled-components": "^1.3.0", "babel-plugin-styled-components": "^1.3.0",
"eslint-config-react-tools": "1.x.x", "eslint-config-react-tools": "1.x.x",
"serve": "^10.0.2" "serve": "^10.1.1"
}, },
"gitHead": "350700130b7501622eac16aa139107c684b62b01" "gitHead": "350700130b7501622eac16aa139107c684b62b01"
} }
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
}, },
"devDependencies": { "devDependencies": {
"eslint-config-react-tools": "1.x.x", "eslint-config-react-tools": "1.x.x",
"serve": "^10.0.2" "serve": "^10.1.1"
}, },
"gitHead": "350700130b7501622eac16aa139107c684b62b01" "gitHead": "350700130b7501622eac16aa139107c684b62b01"
} }
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"devDependencies": { "devDependencies": {
"babel-plugin-emotion": "^9.2.4", "babel-plugin-emotion": "^9.2.4",
"eslint-config-react-tools": "1.x.x", "eslint-config-react-tools": "1.x.x",
"serve": "^10.0.2" "serve": "^10.1.1"
}, },
"gitHead": "350700130b7501622eac16aa139107c684b62b01" "gitHead": "350700130b7501622eac16aa139107c684b62b01"
} }
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
"serve": "serve dist -p 3000" "serve": "serve dist -p 3000"
}, },
"dependencies": { "dependencies": {
"axios": "^0.16.2", "axios": "^0.18.0",
"firebase": "latest", "firebase": "5.5.8",
"prop-types": "^15.6.0", "prop-types": "^15.6.0",
"react-static": "^6.0.0-beta.30" "react-static": "^6.0.0-beta.30"
}, },
"devDependencies": { "devDependencies": {
"eslint-config-react-tools": "1.x.x", "eslint-config-react-tools": "1.x.x",
"serve": "^6.1.0" "serve": "^10.1.1"
}, },
"gitHead": "350700130b7501622eac16aa139107c684b62b01" "gitHead": "350700130b7501622eac16aa139107c684b62b01"
} }
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -20,11 +20,10 @@ const withAuthentication = Component => {
} }


componentDidMount() { componentDidMount() {
firebase.auth.onAuthStateChanged( firebase.auth.onAuthStateChanged(authUser =>
authUser => authUser
authUser ? this.setState(() => ({ authUser }))
? this.setState(() => ({ authUser })) : this.setState(() => ({ authUser: null }))
: this.setState(() => ({ authUser: null }))
) )
} }


Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
"bootstrap": "^4.1.1", "bootstrap": "^4.1.1",
"lodash": "^4.17.10", "lodash": "^4.17.10",
"react-dotdotdot": "^1.2.3", "react-dotdotdot": "^1.2.3",
"react-number-format": "^3.3.4", "react-number-format": "^4.0.4",
"react-static": "^6.0.0-beta.30", "react-static": "^6.0.0-beta.30",
"reactstrap": "^6.0.1", "reactstrap": "^6.0.1",
"string-strip-html": "^3.2.0" "string-strip-html": "^3.2.0"
}, },
"devDependencies": { "devDependencies": {
"eslint-config-react-tools": "1.x.x", "eslint-config-react-tools": "1.x.x",
"serve": "^10.0.2" "serve": "^10.1.1"
}, },
"gitHead": "350700130b7501622eac16aa139107c684b62b01" "gitHead": "350700130b7501622eac16aa139107c684b62b01"
} }
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 5f8ff59

Please sign in to comment.