News for hackers. Stuff that matters.

mustafa-alfar

Re:Ask HN: How do you manage state in your React application? on Tuesday February 12, 2019 @11:53AM (#19145149)
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 ?