change doc

context-store
Alfred Melch 5 years ago
parent ccd684fef0
commit 7f2201c945

@ -1,6 +1,6 @@
import React, { createContext, useContext, useMemo, useReducer } from 'react'
/** Takes objects that fully define a store and turns it into a more potent reducer */
/** Takes options that fully define a store and turns it into a more potent reducer */
export const usePotentReducer = options => {
const { reducer = {}, thunks = {}, initialState } = options
const { onUpdate, logging } = options

Loading…
Cancel
Save