Catalog npm
PACKAGE EXPLORERView in registry

0hook

npm

react hooks

hooksreact
Versions collected19
Direct dependencies64From release 1.8.0
Last observed20 Oct, 17:40 UTC

README

Current package documentation

0hook

封装日常开发常使用的hook

useBoolean

boolean 状态

useCount

数字状态

useMap

Map状态

useSetState

当state为对象时候, 只修改对象一个值, 就只传对应值即可, 不用全传输 类似 Class Component 的 this.setState

useObject

object 状态, 类似 useSetState的更加多方法版

useStorage

字符串状态, 使用Storage 状态缓存 有useLocalStorage 和 useSessionStorage

useUpdate

更新组件

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 19

Collected releases
VersionPublishedDirect dependenciesOpen version
1.8.0Registry latest25 Aug 202564
1.7.012 Jun 202564
1.6.08 Apr 202564
1.5.018 Apr 202464
1.4.211 Apr 202464
1.4.12 Feb 202465
1.3.019 Jul 202359
1.2.017 Jul 202359
1.1.014 Jul 202359
1.0.013 Jul 202359
0.3.012 Jul 202359
0.2.08 Jul 202358
0.1.022 Apr 202360
0.0.69 Apr 202360
0.0.59 Apr 202360
0.0.48 Jan 202359
0.0.328 Dec 202259
0.0.29 Dec 202257
0.0.19 Dec 202251

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
guanruihua/0hook

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 17:40 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:273c6c38bb9a0d6fd665ff52ed38905c3dc4ea759ad17659c00bfa53fe64777d