change doc
This commit is contained in:
parent
ccd684fef0
commit
7f2201c945
@ -1,6 +1,6 @@
|
|||||||
import React, { createContext, useContext, useMemo, useReducer } from 'react'
|
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 => {
|
export const usePotentReducer = options => {
|
||||||
const { reducer = {}, thunks = {}, initialState } = options
|
const { reducer = {}, thunks = {}, initialState } = options
|
||||||
const { onUpdate, logging } = options
|
const { onUpdate, logging } = options
|
||||||
|
Loading…
Reference in New Issue
Block a user