In this lesson we'll show the traditional method of updating state with a spread operator and then transform it into using the Immer produce functionality. This will allow us to achieve immutability on our data with simple mutations We'll then show how Immer can use currying to create updater functions that can be passed directly to setState.
In this lesson we'll explore setting up a stack navigator in React Navigation. We'll create a custom component that uses
withNavigation to allow us to listen to navigation transitions. Using the
BackHandler from React Native we can ask the screen if custom needs are required when the hardware back button is pressed. Finally we'll prompt the user if they want to navigate.
In this lesson we'll explore how to setup a draggable circle. Then we'll dive into using the
In this lesson we'll use a
PanGestureHandler to track a single gesture state. We'll use additional declarative animation functions like
event. We'll then use
interpolate to create opacity and border effects whenever the circle is dragged to new locations.
In this lesson we'll explore using Reanimated and React Native Gesture Handler to create a touchable opacity button using
TapGestureHandler. With declarative animations in Reanimated we'll use tools like
eq to create a purely native opacity animation.
In this lesson we'll explore using Reanimated and React Native Gesture Handler to create a button using
TapGestureHandler. With declarative animations in Reanimated we'll use
eq to create a purely native opacity change animation when the button is pressed.
In this lesson we'll show how to create an always rendered but invisible modal. Then using
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
In this lesson we'll take a look at how to render a basic line graph using D3, and VX. We'll move on to analyzing how to add some interactivity that will render a line where ever the user hovers using
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.
In this lesson we'll explore using Formik to create a form wizard. Each route will be a new piece of a form. We'll then use
matchPath to determine if we need to protect our data from being destroyed by navigating away from the page.
In this lesson we'll create a protected route just for logged in users. We'll combine a Route with a render prop and use a loggedIn prop to determine if the route should be allowed to be accessed. Finally we'll use nav state to preserve the location the user visited and redirect them back to the protected route once they login.