Course's logo Course
pro
State Management with Zustand
10 videos 57 mins 21 August 2023

Course Decription

Enter the world of efficient and intuitive state management with our in-depth course, “React Native State Management with Zustand.” Learn how to effortlessly manage your app’s state using the Zustand library, and bring enhanced interactivity and responsiveness to your mobile apps.

What will I learn?

  • 🐻 Get introduced to the world of Zustand, understanding its benefits and how it revolutionizes state management.
  • 🛍️ Build a Zustand store centered around a shopping environment, managing products and user interactions.
  • ⚡️ Master the use of hooks to integrate the Zustand store across your app, ensuring consistent and reactive data.
  • 🛒 Implement dynamic UI elements like a cart icon that updates its product count in real-time based on user actions.
  • 🔥 Learn to streamline complex state-related operations with Zustand’s simple and performant approach.

Craft smoother and more interactive mobile apps. Enroll in “React Native State Management with Zustand” now and harness the power of Zustand for efficient state management!

start course start course

💪 Introduction

About the Course

What is state management and what will you learn in this course?

2 min
view

What is Zustand?

Zustand is a small, fast and scalable bearbones state-management solution using React Hooks that embraces many concepts of Redux, but with a simpler API, better performance and greater flexibility.

3 min
view

📦 Zustand Store

Building a Product List

We get started by building a simple product list with some dummy data.

11 min
view

Creating a Zustand Store

Let's create a Zustand store to manage our app's state.

11 min
view

Using the Store Hook and Actions

In this lesson we'll learn how to use the store hook and actions to update the store.

4 min
view

Reading the State

In this video, we'll learn how to read the state of our store to display it in our UI.

7 min
view

Displaying the Cart Items

Now that we have a cart, let's display the items in it using the value of our store.

8 min
view

🧩 Zustand Middleware

Logging all Changes

We can log all changes to the store by using a middleware.

3 min
view

Persisting the Store

Learn how to persist the store using MMKV.

4 min
view

Additional Patterns

We wrap up the course by looking at some additional patterns that you can use to make your code more readable and maintainable.

4 min
view