change doc

This commit is contained in:
Alfred Melch 2020-02-01 17:21:18 +01:00
parent ccd684fef0
commit 7f2201c945

View File

@ -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