Stagger React Native Animations with Animated.stagger
lessonDuration 2m 53s
In this lesson we'll use `Animated.stagger` to stagger `Animated.timing` animations that animate the height of a React Native view every 300 milliseconds.
Browse
Find courses, lessons, articles, talks, and podcasts.
7,176 resources
Showing 6,169–6,192 · Page 258 of 299
lessonDuration 2m 53s
In this lesson we'll use `Animated.stagger` to stagger `Animated.timing` animations that animate the height of a React Native view every 300 milliseconds.
lessonDuration 1m 26s
In this lesson we'll use `Animated.parallel` to animate multiple `Animated.timing` and `Animated.spring` animations at the same time.
lessonDuration 1m 52s
By using the `interpolate` function, the `Animated.View` can be rotated using both degrees and radians.
lessonDuration 2m 11s
We'll use the interpolate function from an `Animated.Value` to transition the background color of an `Animated.View`. We'll simultaneously translate the position with the same `Animated.Value`.
lessonDuration 1m 47s
In this lesson we'll use `Animated.sequence` to play multiple `Animated.timing`, and `Animated.spring` animations one after another.
lessonDuration 3m 57s
In this lesson we'll create a `PanResponder` to allow us to drag a card around the screen. We'll use `Animated.event` to automatically set the values of our `Animated.Value` and when the card is released we'll use `Animated.decay` to decelerate it to a stop.
lessonDuration 2m 57s
Learn how to size elements based on the dimensions of the viewport, even when the browser is resized - no JavaScript needed!
lessonDuration 1m 13s
There are times where you need to reset a an element’s styles. Instead of overwriting it with even more style declarations, you can simply reset them.
lessonDuration 2m 48sFree
You can use the JavaScript debugger to set breakpoints in React Native. We'll look at how to use the Chrome developer tools with React Native, and how to work with the debugger and console.log statements.
lessonDuration 5m 28sFree
Learn to write components that render differently on iOS and Android, but present the same API. First, we'll use the Platform module to change behavior based on the platform. Then, we'll use the platform-specific file extensions, .ios.js and .android.js, to render platform-specific components.
lessonDuration 1m 25s
A part of Natural Language Processing (NLP) is processing text by “tokenizing” language strings. This means we can break up a string of text into parts by word, sentence, etc. In this lesson, we will use the `natural` library to tokenize a string. First, we will break the string into words using `WordTokenizer`, `WordPunctTokenizer`, and `TreebankWordTokenizer`. Then we will break the string into sentences using `RegexpTokenizer`.
lessonDuration 3mFree
While browsers do a great job of ignoring styles they don’t understand, it can be useful to provide different sets of styles depending on a browser’s support for them. Learn how to use CSS feature queries without JavaScript.
lessonDuration 3m 12s
In this lesson we will use Animated.spring and TouchableWithoutFeedback to animate the scale of a button in our React Native application. We will use the scale transform property and see how adjusting the friction of a spring will effect the spring animation.
lessonDuration 6m 11sFree
In this lesson, we'll use `next` to create a universal React application with no configuration. We'll create page components that will render on the server if accessed directly, but function as you would expect in the client. We'll use the routing capabilities included with `next` to create links between the components using `pushState` and we'll incorporate our own React component. Finally, we'll deploy the application to `now` with a simple command in the terminal.
lessonDuration 6m 27sFree
The key to being productive with Immutable JS is understanding how to update values that are nested. Using `setIn` you can place a new value directly into an existing or new path. If you need access to the previous value before setting the new one, you can use `updateIn` instead. `updateIn` accepts the same path lookups as `setIn`, but gives you a callback function instead so that you can use the previous value however you wish and return an updated version.
lessonDuration 4m 45s
Manually creating action items every time we need to dispatch an action eventually accumulates to a very tedious process. In this lesson, we will learn how to abstract out the creation of action items so that we consolidate their creation into a single place. This not only creates efficiencies in how we express code but also reduces code volume while simultaneously increasing stability.
lessonDuration 3m 29s
In this lesson we will use Animated.timing to animate the opacity and height of a View in our React Native application. This function has attributes that you can set such as easing and duration.
lessonDuration 1m 45sFree
Components trigger actions via function props to notify of events that occur within the Component. We can inspect those events using React Storybook.
lessonDuration 2m 24sFree
Apply filters like blur, brightness, saturation and hue to images. Combined with CSS blend modes, you can create powerful image effects using only code. This can drastically reduce the amount of time spent back and forth between designers and developers. Here's more information about [`filter`](https://developer.mozilla.org/en-US/docs/Web/CSS/filter), [`blend-mode`](https://developer.mozilla.org/en-US/docs/Web/CSS/blend-mode), and [`mix-blend-mode`](https://developer.mozilla.org/en-US/docs/Web/CSS/mix-blend-mode).
lessonDuration 6m 4s
The `every` method returns true or false based on whether or not every item in the array passes the condition you provide in a callback function. In this lesson we look at some practical examples for simple validation, inferring state from data and for re-using the logic in our callbacks with array filters.
lessonDuration 2m 14s
Resize images and videos to fill their parent and maintain their aspect ratio with pure CSS. The new `object-fit` and `object-position` properties allow you to scale images and videos, much like you could with `background-size` and `background-position`.
lessonDuration 3m 24sFree
`Function.bind` is useful for more than locking down the `this` context when calling a function. This lesson shows how `Function.bind` can be used to make a new function with pre-specified initial arguments. This is a simple example of a functional programming technique called partial application which allows the remaining arguments to be specified when the new function is called.
lessonDuration 1m 44sFree
In this lesson we will use Flexbox to scale a background image to fit on the screen of our React Native application.
lessonDuration 1m 30sFree
ImmutableJS reduce functions can be nested to get data out of complex data structures. In this example, we will create an Immutable List from an Immutable Map that is nested inside of an Immutable List that is itself nested inside of an Immutable Map.