Skip to content

Commit 2000038

Browse files
committed
[UPDATE] version
1 parent 94f9b04 commit 2000038

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/react-tools-lib/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ usePrevious<T = unknown>(variable: T): [T|undefined, (enable: boolean) => void]
246246
247247
Hook to handle component state that allows you to use an object for your state and mutating it in a way more idiomatic for JS. __*N.B.*__ not destructure state, otherwise break changes updated. [See demo](https://ndriadev.github.io/react-tools/#/hooks/state/useProxyState)
248248
```tsx
249-
useProxyState
249+
useProxyState<T extends Record<string, any>>(initialState: T | (() => T), proxyInDepth:boolean=false): T
250250
```
251251
252252
### useReducerGetReset

packages/react-tools-lib/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@ndriadev/react-tools",
33
"description": "A React library of hooks, components and utils ready to use",
44
"private": false,
5-
"version": "0.0.0",
5+
"version": "1.0.0",
66
"type": "module",
77
"files": [
88
"./dist"

0 commit comments

Comments
 (0)