Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages