TutorialsCourses

Tutorials

Add a Clear All Complete Button to the Footer with React Native TouchableOpacity
Jason BrownJason Brown

In this lesson we'll add a button to the footer that will clear all completed items. We'll use TouchableOpacity and we'll examine how flex space-around property works.

React NativeReact Native
Add Additional Properties to React Children Using React.cloneElement
Jason BrownJason Brown

We'll show how to modify the children prop with React.cloneElement. We'll add additional properties, and modify existing properties to enhance an element.

ReactReact
Maintain Touchable Items with a Parent PanResponder in React Native
Jason BrownJason Brown

One of the issues I've noticed with PanResponder is that people assume it is an all or nothing. By that I mean adding a PanResponder in a parent view means it will steal all of your touches and Touchable items won't be touchable any longer.

You may be running into this because you copy and pasted it from here the documentation here https://facebook.github.io/react-native/docs/panresponder.html and it includes a capture phase returning true. (I copy and paste this all the time). We'll talk about the capture phase next.

React NativeReact Native
Migrating Ava to Jest
Jason BrownJason Brown

Migrating from Ava to Jest

JestJest
React NativeReact Native
React NativeReact Native
React NativeReact Native