CHIRAG KUMARhelpichirag.hashnode.dev·Apr 22, 2024Writing of custom Hook in ReactEarlier, How we use any Hook import React, { useState,useEffect } from 'react'; import axios from 'axios' function App(){ function useTodos(){ const [todos, setTodods] = useState([]) useEffect(()=>{ axios.get("http...ReactAdd a thoughtful commentNo comments yetBe the first to start the conversation.