Configuring XState in the Funbook App

Learn how to integrate XState into a React Native app by creating a login flow state machine and leveraging React Context for global state management.

Let’s see what it takes to use XState in a real app.

Adding dependencies

First things first—we need to add XState to the project. We can do so by running one of the two following commands:

Get hands-on with 1200+ tech skills courses.