Error => Too many re-renders. React limits the number of renders to prevent an infinite loop – Reactjs
Hello, EveryOne I'm Learning ReactJs. I'm getting this error whenever I upadate isOpen state. error : Too many re-renders. React limits the number of renders to prevent an infinite loop. here is code import React, { useState } from "react";…