react-redux-action-dispatchers-hook
Advanced tools
Comparing version
@@ -0,3 +1,7 @@ | ||
## 0.0.2 | ||
Removed unused memo | ||
## 0.0.1 | ||
Create first version |
@@ -30,9 +30,5 @@ import { useMemo } from 'react' | ||
const dispatch = useDispatch() | ||
const memoDispatchActionsObject = useMemo( | ||
() => TransformActions(dispatch, actionCreatorMap), | ||
[TransformActions, dispatch, actionCreatorMap] | ||
) | ||
return memoDispatchActionsObject | ||
return TransformActions(dispatch, actionCreatorMap) | ||
} | ||
export default CreateActionDispatchers |
{ | ||
"name": "react-redux-action-dispatchers-hook", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "transform action creators into action dispatchers", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
14052
-0.79%86
-4.44%