Dale Jefferson

Dale L. Jefferson

TypeScript, JavaScript, React, React Native

Class properties with React

By Dale L. Jefferson. Published

Dealing with this binding in JavaScript can be a real pain. In this article, I will show you three ways to avoid binding issues. Class Properties is the new JavaScript syntax for creating handler functions that have the correct this binding.

Async/Await with React Lifecycle methods

By Dale L. Jefferson. Published

If you are like me you will also end up doing a lot of asynchronous work in componentWillMount/componentDidMount. This article will show you how to use Async/Await with React’s Lifecycle events. React’s lifecycle methods can return any value, including a promise.