Tinkery Labs

React

A collection of 3 posts

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

  • Zee Yang
    Zee Yang
4 min read
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.

  • Zee Yang
    Zee Yang
2 min read
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

  • Zee Yang
    Zee Yang
2 min read
Tinkery Labs © 2019
Latest Posts Facebook Twitter Ghost