- Easily customize or extend hooks to suit your needs.
- Save time and reduce boilerplate code in your React projects.
- 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
orapp/hooks
directory, depending on your project structure.
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 withlocalStorage
.
Contributions are welcome! If you'd like to add more useful hooks or improve the existing ones, feel free to contribute.
This extension is created and maintained by the following person.
Ayushmaan Singh
This extension is licensed under the MIT License.