Reactjs – Passing callback function to useContext in React
I've created simple context and custom hook to use it and i want to pass callback function through this hook. Is it even possible? Bear in mind its not the actual code, it's just supersimple representation of an idea. I…