I am having one component where I need to handle multiple states that's why i have declared multiple states. is there way to optimise states in hooks component.
const [showPopup, setShowPopup] = useState(false);
const [camPopup, setCamPopup] = useState(false);
const [color, setColor] = useState("red");
const [userdata, setUserdata] = useState(null);
and few more states are there how to optimise/ reduce them.