TutorialsCourses

Tutorials

Setup React Native Video for iOS and Android
Jason BrownJason Brown

In this lesson we'll install react-native-video with NPM. We'll use the react-native link command to setup all necessary native code.

React NativeReact Native
Remove the Underline from Android TextInputs in React Native
Jason BrownJason Brown

TextInputs on React Native receive the native defaults. In general this is ideal because it's how native the native components look however on the Android platform this takes the form of a dark underline.

React NativeReact Native
Persist Items with React Native AsyncStorage
Jason BrownJason Brown

In this lesson we'll use AsyncStorage to save our items so they persist with each reload of the application. We'll show how to use the promise base interface to handle success as well as handle errors.

React NativeReact Native
Measure and Get the Position of a React Native Element
Jason BrownJason Brown

In this lesson we'll explore how to measure the dimensions and get the position of a React Native element using onLayout and UIManager.measure. Additionally we'll see how to use the helper function measure on the component ref for easier measurement.

React NativeReact Native
Inline Edit Todo Items in a React Native ListView
Jason BrownJason Brown

We'll add a TouchableOpacity with a long press to trigger an inline TextInput edit in the row. We'll show how to update an item in a ListView.DataSource and make sure it re-renders

React NativeReact Native
Increase Android AsyncStorage Size in React Native
Jason BrownJason Brown

The iOS AsyncStorage implementation has an unlimited amount of space by default. This is not the case on Android, the default size of AsyncStorage is 6MB. This is generally enough for a casual application however there are many cases when you may need more, like when you are using PouchDB async adapter.

React NativeReact Native
Get the Dimensions of a React Native Phone Screen
Jason BrownJason Brown

In this lesson we'll use Dimensions to get the width and height of the screen. Also we'll use onLayout to detect orientation changes.

React NativeReact Native
Fix Only Committed Files with Prettier and lint-staged
Jason BrownJason Brown

In this lesson we'll use prettier and lint-staged to run prettier only on files that have been changed and committed to git. This will allow you to prettify files as you change them, and prevent massive lint only git check ins.

JavaScriptJavaScript
Filter Items in the React Native List View
Jason BrownJason Brown

We'll setup 3 buttons (All, Active, Complete) to filter the displayed items based on their completion status. We'll also show how to use flexbox flexDirection row lays out items differently than column.

React NativeReact Native
Disable the Yellow Box in React Native
Jason BrownJason Brown

The Yellow warning box in React Native can be both helpful and annoying. There are many errors that can be ignored but end up blocking necessary pieces of the application.The Yellow warning box in React Native can be both helpful and annoying. There are many errors that can be ignored but end up blocking necessary pieces of the application.

React NativeReact Native