The following instructions should work with React Native v0.32:
-
Install mobx libraries.
npm install mobx --save npm install mobx-react --save
/** | |
* @path src/redux/middleware | |
* | |
* Extract from clientMiddleware example in order to showcase | |
* the difference and help in understanding the same. | |
* | |
* @diff - Differences with "react-redux-universal-hot-example" | |
*/ | |
export default function firebaseMiddleware(fireRef) { | |
return ({dispatch, getState}) => { |