├── .gitignore ├── .travis.yml ├── demo_images ├── Screen Shot 0030-02-18 at 0.43.40.png ├── Screen Shot 0030-02-18 at 0.43.44.png └── Screen Shot 0030-02-18 at 0.44.06.png ├── src ├── components │ ├── App │ │ └── index.js │ ├── Stream │ │ ├── index.js │ │ └── presenter.js │ └── Callback │ │ └── index.js ├── actions │ ├── index.js │ ├── track.js │ └── auth.js ├── constants │ ├── actionTypes.js │ └── auth.js ├── reducers │ ├── index.js │ ├── auth.js │ └── track.js ├── stores │ └── configureStore.js └── index.js ├── index.html ├── webpack.config.js ├── README.md └── package.json /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | 3 | node_js: 4 | - stable 5 | 6 | install: 7 | - npm install 8 | 9 | script: 10 | - npm test -------------------------------------------------------------------------------- /demo_images/Screen Shot 0030-02-18 at 0.43.40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chienkira/react-redux-spotify/HEAD/demo_images/Screen Shot 0030-02-18 at 0.43.40.png -------------------------------------------------------------------------------- /demo_images/Screen Shot 0030-02-18 at 0.43.44.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chienkira/react-redux-spotify/HEAD/demo_images/Screen Shot 0030-02-18 at 0.43.44.png -------------------------------------------------------------------------------- /demo_images/Screen Shot 0030-02-18 at 0.44.06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chienkira/react-redux-spotify/HEAD/demo_images/Screen Shot 0030-02-18 at 0.44.06.png -------------------------------------------------------------------------------- /src/components/App/index.js: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | 3 | function App({ children }) { 4 | return
28 |
29 |
30 |
--------------------------------------------------------------------------------
/src/components/Callback/index.js:
--------------------------------------------------------------------------------
1 | import React from 'react'
2 | import QueryString from 'query-string'
3 |
4 | class Callback extends React.Component {
5 |
6 | constructor(props) {
7 | super(props);
8 | this._handleAuthCallback = this.handleAuthCallback(this.props.dispatch);
9 | }
10 |
11 | componentDidMount() {
12 | window.setTimeout(this._handleAuthCallback, 1)
13 | }
14 |
15 | render() {
16 | return From Musyc: This page should close soon...