BETAmodules.com is in beta — open to partnerships & joint ventures.Build with us

@kne/use-ref-callback

v0.1.3npm· JavaScript

这是一个React hooks,它内部使用ref去保证callback是最新的(你也可以通过参数指定callback为初始值),而不引起组件的不必要渲染

The verdict
Maintained. Maintained, actively maintained.
Live from the npm registry · derived rules, not AI
How it scores
MaintenanceHealthy
PopularityUnknown
SecurityClean
LicensePermissive
DepsZero deps
Maintenance
Last published 1 month ago.
Popularity
Download count unavailable.
Security
No known advisories for this version (OSV).
License
MIT
Dependencies
No runtime dependencies
Recent releases
  • 0.1.31 month ago
  • 0.1.23 years ago
  • 0.1.13 years ago