Skip to content

coofcoding/hooks-app

Repository files navigation

HOOKS APP

This repository, is a couple of exercise that i made in the course: React: De cero a experto ( Hooks y MERN )

List of the Hooks implemented

// react hook
useState();
useEffect();
useRef();
useLayoutEffect();
useCallback();
useMemo();
useReducer();
useContext();

// customHooks
useCounter();
useFetch();
useForm();
useTodo();
useReducer();

Also, how to export Hooks methods, useEffect dependencies, useEffect - cleanup, forms with customHooks & how to connect both hooks.

API Reference

.env

  VITE_BASE_URL = https://api.breakingbadquotes.xyz/v1

Get items ( random )

  GET ${import.meta.env.VITE_BASE_URL}/quotes