Q.1 What hook is used to perform side effects in React functional components?
Q.2 Which hook is used to add state to a functional component in ReactJS?
Q.3 Which hook is used to create a memoized value that only changes when its dependencies change?
Q.4 What hook is used to perform data fetching in React functional components?
Q.5 What is the purpose of the useRef hook in React?