This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// note: I'm using redux-actions in here, so the actions might look a bit different than you are used too | |
// note: This is not complete but the concepts are | |
// excerpt from app.js | |
import { createStore, applyMiddleware } from 'redux'; | |
import thunk from 'redux-thunk'; | |
import fetch from 'isomorphic-fetch' | |
// note: you could totally leave out the fetch argument here if you set a default (as I do in my actions) | |
// I'm right now not absolutely sure how I will handle this in the future (the way it is now it is a bit redundant) |