A New Way to Handle Events in React

Article by William Le

'Property Initializer Syntax' sounds more fancy than it really is. In this bite-sized tutorial see how this alternative way of writing event handlers will help eliminate boilerplate in your constructor and also defend against frivolous memory usage in your renders.

Related resources

How to (unit) test in React

This guide explains what unit testing is, why it's needed and the best practices for small to large React applications. [continue]

Article by Onoufrios Malikkides

End to End testing React applications

Having a good testing setup, one that allows us to create meaningful tests and is not a painful process, is extremely important to produce quality code. In this talk we will explore the options that we have, and will explain how to leverage webdriver for end-to-end testing React applications. [continue]

Video Talk by Forbes Lindesay

Debugging a Create React App with VS Code

In this video we'll look at how to configure VS Code to debug React components and Jest unit tests inside a web application that was created by create-react-app. [continue]

Video Tutorial by Manorisms

The Right Way to Test React Components

There's a lot of confusion right now about the 'right' way to test your React components. Should you write all your tests by hand, or only use snapshots, or some of both? Should you test props? State? Styles/Layout? I don't think there's one 'right' way, but I've found a few patterns and tips that work [continue]

Article by Stephen Scott