@react-awesome/hooks
A collection of useful and awesome hooks.
Please refer to the documentation for more information.
Installation
yarn add @react-awesome/hooks
# or
npm i @react-awesome/hooks
Hooks
-
usePrevious is a hook track the previous value of a variable.
-
useSelectionRange tracks the input selection range.
-
usePreserveInputCaretPosition tracks the input caret position and place it at the correct position so user can have a natural typing experience.
Contribution
Yes please! See the contributing guidelines for details.
Licence
This project is licensed under the terms of the MIT license.