Reactjs – React useContext accessing only required value
I'm tried to access only few values in my component but have to define all the values in useContext. if a am not defining the sequence its giving error const [handleChange, isEditMode, setIsEditMode, partnerData, setPartnerData] = useContext(FilterContext); here i want…