client/src/constants/asyncRequest.js
author ymh <ymh.work@gmail.com>
Fri, 28 Jul 2017 19:40:35 +0200
changeset 129 d48946d164c6
parent 92 5a73b44925f2
child 168 ea92f4fe783d
permissions -rw-r--r--
Add a first version of synchronisation Remove redux-offline dependency make the redux state fully immutable TODO: better error management TODO: make syncronization work automatically

import Immutable from 'immutable';

export default Immutable.Map({
  loading: false,
  success: false,
  error: false,
  errorMessages: Immutable.Map({})
});