1.0.0 • Published 2 years ago

hook-pantry v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

hook-pantry

  1. useOnlineStatus : Check if the user is currently online or offline.
  2. useKeyPress : Detect when a specific key is pressed
  3. usePrevious: Get the previous value of a state or prop
  4. useSmartPolling: Smart polling logic that adjusts the polling interval based on network conditions.
  5. useWebSocket: Manage WebSocket connections with features like reconnecting, sending and receiving messages.
  6. useUndoRedo: Managing a stack of actions to support undo and redo functionality
1.0.0

2 years ago