@@ -182,6 +182,7 @@ Go to [Demo](https://ndriadev.github.io/react-tools) to see and try all implemen
182182
183183 - [_alphanumericCompare_](#alphanumericCompare)
184184 - [_changeStringCase_](#changeStringCase)
185+ - [_clickElementOnKeydownEvent_](#clickElementOnKeydownEvent)
185186 - [_defaultSerializer_](#defaultSerializer)
186187 - [_detectBrowser_](#detectBrowser)
187188 - [_getBase64_](#getBase64)
@@ -393,9 +394,9 @@ useLogger(name: string, props: object)
393394
394395### useRerender
395396
396- Hook that force a render. [See demo](https://ndriadev.github.io/react-tools/#/hooks/lifecycle/useRerender)
397+ Hook to force a render. [See demo](https://ndriadev.github.io/react-tools/#/hooks/lifecycle/useRerender)
397398` ` ` tsx
398- useRerender ( ): React . DispatchWithoutAction
399+ useRerender < T >( withValue ? : true | false | never ): DispatchWithoutAction | [ T , DispatchWithoutAction ]
399400` ` `
400401
401402## PERFORMANCE
@@ -854,7 +855,7 @@ usePopover({ mode, onBeforeToggle, onToggle }: UsePopoverProps): UsePopoverResul
854855
855856Hook to resolve promise with Suspense support. The component that uses it, it need to be wrapped with Suspense component. This hook can be used in conditional blocks. [See demo](https://ndriadev.github.io/react-tools/#/hooks/api-dom/usePromiseSuspensible)
856857` ` ` tsx
857- usePromiseSuspensible <T >(promise : ()=> Promise <T >, deps : DependencyList , options : { cache? : " unmount" | number , cleanOnError? : boolean } = {}): Awaited <ReturnType <typeof promise >>
858+ usePromiseSuspensible <T >(promise : ()=> Promise <T >, deps : DependencyList , options : { cache? : " unmount" | number , cleanOnError? : boolean , identifier ? : string } = {}): Awaited <ReturnType <typeof promise >>
858859` ` `
859860
860861### usePublishSubscribe
@@ -1057,6 +1058,13 @@ Function that given a string, a case type, and an optional delimiter, returns th
10571058changeStringCase ({string, caseType, delimiter}: { string? : string , caseType: " pascalCase" | " snakeCase" | " kebabCase" | " camelCase" , delimiter? : " upperCase" | " lowerCase" | string }): string
10581059` ` `
10591060
1061+ ### clickElementOnKeydownEvent
1062+
1063+ Function which, given a triggering code, executes _click_ on element when a keyDown event with triggering code is executed. [See demo](https://ndriadev.github.io/react-tools/#/utils/clickElementOnKeydownEvent)
1064+ ` ` ` tsx
1065+ clickElementOnKeydownEvent (codeTriggering : KeyboardEventCode ): ((e : KeyboardEvent ) => void )
1066+ ` ` `
1067+
10601068### defaultSerializer
10611069
10621070Function to serialize any type of value. [See demo](https://ndriadev.github.io/react-tools/#/utils/defaultSerializer)
@@ -1273,6 +1281,13 @@ Utility type for __`Typed Arrays`__.
12731281type TypedArray
12741282` ` `
12751283
1284+ ### KeyboardEventCode
1285+
1286+ Utility type for __ ` Keyboard Event Code ` __
1287+ ` ` ` tsx
1288+ type KeyboardEventCode
1289+ ` ` `
1290+
12761291
12771292## ESLint configuration
12781293To validate dependencies of custom hooks like ` useMemoCompare ` , configure ` exhaustive -deps ` with the ` additionalHooks ` option:
0 commit comments