diff --git a/README.md b/README.md
index 8b5a1c6..dd066e6 100644
--- a/README.md
+++ b/README.md
@@ -7,6 +7,8 @@ A lightweight library that provides two essential custom hooks for your react or
- **`useInterval`**: Set up recurring functions at specified intervals.
- **`useTimeout`**: Delay execution of a function for a specified time.
- **`useDebouncedValue`**: Debounce a value, updating it after a specified delay.
+- **`useThrottledValue`**: Throttle a value, ensuring it updates only once within the specified delay period.
+- **`usePrevious`**: Capture and store the previous value of a state or prop.
## Installation
@@ -103,6 +105,68 @@ const SearchComponent = () => {
};
```
+### useThrottledValue:
+
+#### Syntax:
+
+```
+const throttledValue = useThrottledValue(value, delay);
+```
+
+#### Example
+
+```
+import { useThrottledValue } from '@shurutech/react-hook-tools';
+
+function ThrottleTestComponent() {
+ const [inputValue, setInputValue] = React.useState("");
+ const throttledValue = useThrottle(inputValue, 1000);
+
+ return (
+
+
useThrottledValue Hook Test
+ setInputValue(e.target.value)}
+ />
+
Immediate Value: {inputValue}
+
Throttled Value (updates every 1000ms): {throttledValue}