Skip to content

In this exercise I have developed a custom hook to toggle a boolean value :)

Notifications You must be signed in to change notification settings

Lorellana21/my-custom-hook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started with Custom Hooks

In this exercise I have developed a custom hook to toggle a boolean value, it would be used as follows:

const [ value, toggleValue ] = useToggle(false);

More information here

Installation

In the project directory, you can run:

npm install and npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

About

In this exercise I have developed a custom hook to toggle a boolean value :)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published