Skip to content

Explore a collection of custom React hooks designed to enhance your web development projects. This repository showcases reusable hooks that provide intuitive solutions to common challenges, ranging from managing state and side effects to handling complex interactions.

MalikBilal111/react-custom-hooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Custom React Hooks Repository 👍

Welcome to the Custom React Hooks Repository! This repository is a collection of custom React hooks designed to simplify and optimize your web development projects. Each hook provides a solution to a specific challenge commonly encountered in React application development

Table of Contents

Available Hooks

Explore the following custom hooks:

Hook Name Hook Description Code
useCheckMobileScreen Hook that detects whether the window is in a mobile or desktop screen size
useLocalStorage Hook that detects whether the window is in a mobile or desktop screen size
useWindowSize Hook that detects whether the window is in a mobile or desktop screen size

Contributing

I welcome contributions from the community! If you have your own custom React hooks that you'd like to share, or if you'd like to improve existing hooks, please follow these steps:

  • Fork the repository.
  • Create a new branch for your feature or improvement:
    git checkout -b feature-name
  • Make your changes, and ensure that your code follows best practices.
  • Write meaningful commit messages.
  • Push your changes to your forked repository.
  • Create a pull request to this repository's main branch.

License

This project is licensed under the MIT License.

About

Explore a collection of custom React hooks designed to enhance your web development projects. This repository showcases reusable hooks that provide intuitive solutions to common challenges, ranging from managing state and side effects to handling complex interactions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published