Render a React UI with JSX
lessonDuration 2m 48s
We’ll dive right into JSX by rendering a static version of what our application will look like. We’ll cover the basic syntax of JSX and point out where it differs from html.
Browse
Find courses, lessons, articles, talks, and podcasts.
1,542 results for "react"
Showing 1,081–1,104 · Page 46 of 65
lessonDuration 2m 48s
We’ll dive right into JSX by rendering a static version of what our application will look like. We’ll cover the basic syntax of JSX and point out where it differs from html.
lessonDuration 4m 19s
We’ll go from an empty directory to a solid foundation for an application by running a single command. The create-react-app tool handles all of the complicated setup for us so we can focus on building our application.
lessonDuration 5m 15s
We’ll define a simple state object in the constructor of the App Component class. Once the state has been defined, we’ll replace the static elements in our rendered output with values from the component’s state. We’ll move from static items to an array, seeing how we can use functions like map to render our UI.
lessonDuration 3m 41s
We’ll make the input field a “controlled component” by reacting to each change of the input and capturing it in the component state. Following this model gives us assurance that the UI is always a representation of the current application state.
lessonDuration 6m 21sFree
In this lesson we'll build a generic login screen. We'll explore how to use a background image, how to center content with spacer views, and how to use other flex properties.
lessonDuration 4m 25s
In this lesson we'll create a heart shaped like button that bounces when it is pressed. This technique is a great way to show feedback for when a user likes a piece of content. We'll `Animated.spring` to create a realistic feeling spring animation with the use of friction. We'll also use `interpolate` to our animated value to scale our heart up and down to make it look like it's bouncing.
lessonDuration 7m 43s
In this lesson we'll create an animated floating action button. This technique can be used as a quick action menu to hide additional options. When pressed we'll use `Animated.parallel` to execute our stagger menu options and execute our `Animated.timing` animation which will rotate our button and change our background color with `interpolate`. We use `Animated.stagger` to create a delay of our buttons sliding up. `Animated.spring` will give our buttons a spring effect as they shoot upwards.
lessonDuration 6m 18s
In this lesson we'll create a like button that explodes with hearts. We'll use `Animated.parallel` to execute the bouncy heart animation as well as the series of hearts exploding at the same time. Then we'll use an array of `Animated.timing` animations and then use `Animated.stagger` to make the hearts appear with a 50ms stagger. We use `Animated.delay` to wait before we then use `Animated.stagger` again to hide the hearts in. Finally our `Animated.sequence` will cause each of those animations to happen one after the other.
lessonDuration 9m 57s
In this lesson we'll create a Twitter Moments clone with a horizontal parallax image scrolling effect. We'll use Animated.event, and interpolation to make the effect work.
lessonDuration 6m 18s
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
lessonDuration 5m 57s
In this lesson we'll use the ListView component to render a list of items that were entered. We'll show how to setup a ListView.DataSource and how to render custom rows with performance in mind.
lessonDuration 3m 19s
We'll add a cross platform Switch component to toggle the completeness of each todo item. We'll show how to pass down functions from the parent application to the child row of a ListView.
lessonDuration 1m 48s
We'll use TouchableOpacity to create a Remove button for each todo item. We'll demonstrate how to create remove items from a ListView.DataSource
lessonDuration 1m 49s
We'll use the cross platform ActivityIndicator to add a loading spinner while the items load from AsyncStorage. We'll show off the importance of rendering order, absolute positioning, and how to center items with `alignItems` and `justifyContent` set to center.
lessonDuration 1m 6s
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.
lessonDuration 1m 42s
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.
lessonDuration 6m 44s
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.
lessonDuration 40s
In this lesson we'll add a footer text item to show the total count of what is in the current filtered view. We'll show the technique of deriving computed values in render functions.
lessonDuration 3m 43s
In this lesson we'll add a Toggle All Complete Button next to the Text Input. We'll show off how components without flex layout affect siblings with flex layout properties.
lessonDuration 4m 29s
In this lesson we'll use TextInput to receive input from the user and save off separate items into state. We'll store the value on state, show how to setup specific keyboards to display and how to handle actions from the keyboard.
lessonDuration 4m 48s
In this lesson we'll walk through the process of installing the react-native-cli through setting up a basic react-native project on iOS. We'll get the basic project running in a simulator via XCode. We'll also setup Android, Android Studio and get the project running on an emulator with the react-native run-android command.
lessonDuration 1m 10sFree
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.
lessonDuration 2m 52sFree
In this lesson we'll create a MapView with react-native-maps. We'll use the `onPress` function to add `Markers` to the map and then we'll use the custom map marker feature to style them.
lessonDuration 4m 23s
In this lesson we'll learn to use `backfaceVisibility` style property and `rotateX` to create a vertical flip animation, and `rotateY` to create a horizontal flip animation.