Features
- Easily customize or extend hooks to suit your needs.
- Save time and reduce boilerplate code in your React projects.
Usage
- Open the command palette (Ctrl+Shift+P or Cmd+Shift+P).
- Type "React Hooks" and select the command to generate the hooks folder in your current workspace.
- Find your hooks in the
src/hooks or app/hooks directory, depending on your project structure.
Hooks
List of hooks available:
useDebounce : Debounces a value for a specified delay.
useThrottle : Throttles a callback function for a specified delay.
useFetch : Fetches data from a specified URL.
useLocalStorage : Synchronizes state with localStorage .
Contribution
Contributions are welcome! If you'd like to add more useful hooks or improve the existing ones, feel free to contribute.
Creator
This extension is created and maintained by the following person.
Ayushmaan Singh
Connect
License
This extension is licensed under the MIT License.
| |