use-react-url
v1.0.6
Published
The `useUrlHandler` hook is a powerful utility for managing URL parameters in React applications. It provides a comprehensive set of functions to handle URL state, navigation, and scrolling behavior.
Maintainers
Readme
useUrlHandler Hook
The useUrlHandler hook is a powerful utility for managing URL parameters in React applications. It provides a comprehensive set of functions to handle URL state, navigation, and scrolling behavior.
Features
- Parse and manipulate URL parameters
- Batch updates to minimize re-renders
- Debounced parameter changes
- Custom parameter configurations (parsing, serialization, default values)
- Scroll handling for hash changes
- URL encoding and decoding utilities
Installation
npm install use-react-url