This project is a means to simplify and fasten the web dev in react. There are a variety of custom hooks that can be useful during development of a major project in react
Some of the most notable hooks are:
- useOutside
- useEventListener
- useArrays
- useDebounce
- and many more
Contributions to this repository are welcome.
To contribute to this repository, make sure you send a pr with proper commits. Prototype of a commit is:
Name of hook
- Name hook
- use of hook
- description of hook
- example of hook
- dependent hook (if any)
Make sure you make a suitable route for the demo of hook and add it to router persent is App.js and it's nav link in Sidebar.jsx
Make a folder with the name of hook itself in src folder Make sure the hook itself is of extention .js, while the extension of demo component is .jsx
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.