react-super-hooks

A lightweight library of commonly used React custom hooks, written in TypeScript, designed to simplify and enhance your React projects.

MIT License

Downloads
56
Stars
0

Bot releases are hidden (Show)

react-super-hooks - Version 1.5.1 Latest Release

Published by ishantrivedi25 4 months ago

Overview

This minor release focuses on enhancing the project's documentation.

Changes

  • Update CodeSandbox URL in main README
react-super-hooks - Version 1.5.0

Published by ishantrivedi25 4 months ago

Overview

This release focuses on enhanced code quality and consistency through ESLint and Prettier integration, improved documentation, refactoring for type and formatting improvements, and an enhanced development environment with VSCode settings.

Features

  • Integrate ESLint & Prettier to maintain code quality and consistency
  • Add VSCode settings

Changes

  • Refactor custom hooks formatting & type-related changes
  • Update main README
  • Update documentation README
react-super-hooks - Version 1.4.1

Published by ishantrivedi25 4 months ago

Overview

This minor release focuses on enhancing the project's documentation to provide clearer guidance and better user experience.

Changes

  • Update main README
  • Update documentation README
react-super-hooks - Version 1.4.0

Published by ishantrivedi25 4 months ago

Overview

This release introduces five new custom hooks useDebounce, useScript, useLocalStorage, useSessionStorage, and useWindowSize. Additionally, the documentation has been updated to include detailed information about these new hooks.

Features

  • Add useDebounce custom hook: Delays the update of a value until after a specified delay
  • Add useScript custom hook: Dynamically loads and manages external scripts
  • Add useLocalStorage custom hook: Facilitates interaction with browser storage mechanism localStorage
  • Add useSessionStorage custom hook: Facilitates interaction with browser storage mechanism sessionStorage
  • Add useWindowSize custom hook: Tracks the dimensions of the browser window

Changes

  • Make all the custom hooks SSR compatible
  • Update introduction and documentation with detailed information about the new hooks and their usage
react-super-hooks - Version 1.3.0

Published by ishantrivedi25 4 months ago

Overview

This minor release focuses on enhancing the main README.md.

Changes

Update main README.md to include a CodeSandbox demo URL for live demonstrations and a GitHub repository URL for easy project access.

react-super-hooks - Version 1.2.0

Published by ishantrivedi25 4 months ago

Overview

This release introduces four new custom hooks useForm, useHover, useUpdateEffect, and useOnClickOutside. Additionally, the documentation has been updated to include detailed information about these new hooks.

Features

  • Add useForm custom hook: Simplifies form state management and submission handling
  • Add useHover custom hook: Detects whether the mouse is hovering over a specified element
  • Add useUpdateEffect custom hook: Executes a function only after a component update, excluding the initial render
  • Add useOnClickOutside custom hook: Detects clicks that occur outside a specified element
  • Update introduction and documentation with detailed information about the new hooks and their usage.
react-super-hooks - Version 1.1.1

Published by ishantrivedi25 4 months ago

Overview

This minor release focuses on enhancing the project's documentation to provide clearer guidance and better user experience.

Changes

  • Update main README
  • Update documentation README
react-super-hooks - Version 1.1.0

Published by ishantrivedi25 4 months ago

Overview

This is the initial release of our project, featuring a robust setup with TypeScript and Rollup. This release includes essential custom hooks to streamline your development process, along with comprehensive usage documentation.

Features

  • Initialize project with TypeScript setup
  • Set up Rollup with terser for module bundling
  • Add useFetch custom hook: Simplifies data fetching
  • Add usePrevious custom hook: Stores the previous value of a variable for comparison
  • Add useToggle custom hook: Toggles a boolean state, useful for UI elements like modals and dropdowns
  • Provide comprehensive usage documentation