New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-redux-action-dispatchers-hook

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-redux-action-dispatchers-hook - npm Package Compare versions

Comparing version

to
0.0.12

2

CHANGES.md

@@ -1,2 +0,2 @@

## 0.0.9-0.0.11
## 0.0.9-0.0.12

@@ -3,0 +3,0 @@ rebuild without useMemo and rename to useCreateActionDispatchers (again!)

@@ -28,7 +28,6 @@ import { useMemo } from 'react'

IAreaState,
TSelector extends (state: IStoreState) => IAreaState
>(
actionCreatorMap: T,
selector: TSelector
) => {
>(
actionCreatorMap: T,
selector: (state: IStoreState) => IAreaState
) => {
const dispatch = useDispatch()

@@ -35,0 +34,0 @@ const properties = useSelector<IStoreState, IAreaState>(selector)

@@ -6,4 +6,4 @@ import { Dispatch } from 'redux';

export declare const TransformActions: <T extends Record<keyof T, (...args: any) => any>>(dispatch: Dispatch<import("redux").AnyAction>, actionCreatorMap: T) => IActionsMap<T>;
export declare const useCreateArea: <T extends Record<keyof T, (...args: any) => any>, IStoreState, IAreaState, TSelector extends (state: IStoreState) => IAreaState>(actionCreatorMap: T, selector: TSelector) => IAreaState & IActionsMap<T>;
export declare const useCreateArea: <T extends Record<keyof T, (...args: any) => any>, IStoreState, IAreaState>(actionCreatorMap: T, selector: (state: IStoreState) => IAreaState) => IAreaState & IActionsMap<T>;
declare const useCreateActionDispatchers: <T extends Record<keyof T, (...args: any) => any>>(actionCreatorMap: T) => IActionsMap<T>;
export default useCreateActionDispatchers;
{
"name": "react-redux-action-dispatchers-hook",
"version": "0.0.11",
"version": "0.0.12",
"description": "transform action creators into action dispatchers",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet