Hacker News new | ask | show | jobs
by mustafa-alfar 2687 days ago
How can you implement that, the useReducer must be inside the hooks component, so how can I export the value returned from useReducer to pass it into createContext ?