React Hooks: How to create and update Context.Provider
React just released a new API proposal called Hooks. Let's see how we can hook the new Context API on it and create a self-contained state management.
Tags: react, reacthooks, reactcontext, hooks