Skip to content

Instantly share code, notes, and snippets.

@vzaidman
Last active October 7, 2017 19:31
Show Gist options
  • Save vzaidman/856e8eb6ef5f179d7f699dc64e4d5b9e to your computer and use it in GitHub Desktop.
Save vzaidman/856e8eb6ef5f179d7f699dc64e4d5b9e to your computer and use it in GitHub Desktop.
import { makeAsyncActionCreator } from 'redux-toolbelt'
const fetchProfile = makeAsyncActionCreator('FETCH_PROFILE')
import { makeAsyncReducer } from 'redux-toolbelt'
import { fetchProfile } from './actions'
const profileReducer = makeAsyncReducer(fetchProfile)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment