hook-pantry
v1.0.0
Published
Contains general custoom hooks, which will be useful to increase development speed.
Downloads
3
Readme
hook-pantry
- useOnlineStatus : Check if the user is currently online or offline.
- useKeyPress : Detect when a specific key is pressed
- usePrevious: Get the previous value of a state or prop
- useSmartPolling: Smart polling logic that adjusts the polling interval based on network conditions.
- useWebSocket: Manage WebSocket connections with features like reconnecting, sending and receiving messages.
- useUndoRedo: Managing a stack of actions to support undo and redo functionality