React Making AJAX Calls with React Hooks One of the most common use of higher-order components is to separate AJAX logic from JSX presentation components. Since React Hooks is designed to replace higher-order components, naturally the first question is how
React React Context API + State Hook React context and state hook are two new concept of the React API. This post show you how to mesh the two concepts together, so you can consume parent context in functional components.
React Migrating to React Hooks React hooks was recently announced at #reactconf, slated for v16.7.x. See documentation and RFC here. Hooks added the ability to attach state and effects to previously stateless function components. While the