Learn React, React Native, JavaScript and more with in-depth tutorials.
PanGestureHandler to track a single gesture state. We'll use additional declarative animation functions like cond, eq, add, set, and event. We'll then use interpolate to create opacity and border effects whenever the circle is dragged to new locations.TapGestureHandler. With declarative animations in Reanimated we'll use tools like timing, Clock, set cond, and eq to create a purely native opacity animation.TapGestureHandler. With declarative animations in Reanimated we'll use cond, and eq to create a purely native opacity change animation when the button is pressed.onLayout, refs, and measure we can find our action locations. We'll use a PanResponder to register presses on an image. When you press and hold we'll use Animated to show the modal. With the onPanResponderMove we can check if the user has moved their finger onto an action. We'll use setState updater function to highlight the action in bold and show how to take action in onPanResponderRelease.bisect from D3. Then we'll show how to render another line path using the scales and manipulating our data. Finally we'll add another line split so we're rendering 2 line paths.bisect from D3. Then we'll show how to render another line path using the scales and manipulating our data. Finally we'll add another line split so we're rendering 2 line paths.Prompt and matchPath to determine if we need to protect our data from being destroyed by navigating away from the page.matchPath function exported by react-router to find active nested routes inside of a parent component. This technique can be used for comparing routes outside of a React component, or even inside of life cycle methods to do data loading.to prop can receive an object. This allows us to pass state to the route. With the nav state we destructure off of location we can determine if a user wants to open a modal or on a cold visit show an image embedded in the page.