React Newsletter #136

Introducing hooks, React higher-order components, and React render props


News

https://reactjs.org/docs/hooks-intro.htm

Hooks are a new feature proposal announced literally an hour ago that lets you use state and other React features without writing a class. They’re currently in React v16.7.0-alpha and being discussed in an open RFC.

Articles

Getting to know React DOM’s event handling system inside out

This is a fantastic post on getting familiar with how the event system in React actually works.

React Higher-Order Components

In this post you'll look at the most popular pattern for accomplishing code reuse amongst components in a React app, Higher-Order Components.

React Render Props

In this post you'll look at a pattern for accomplishing code reuse amongst components in a React app, Render Props.


Tutorials

React.lazy, What and how to use in your app

React 16.6 is out and with it comes the new Lazy API. The React.lazy function lets you render a dynamic import as a regular component. This quick post will walk through the API and how to use it.


made with ❤️ by ui.dev