React Custom Hooks

creating a React Custom Hooks for the exercise :

  • useToggle
  • useFetch
  • axios
  • rest API

Result

gif

Used Technologies

Install and run

To use this project locally, you need to follow the commands below:

  1. Clone the repository into your local machine:

    git@github.com:Belal-Aljumaa/custom_hooks.git
  2. Redirect inside the cloned repository:

    cd custom_hooks/
  3. Install the required packages:

    npm install

    or

    pnpm install
  4. Start local server:

    npm run dev
  5. Open http://localhost:5173 to view it in your browser.