Using XState for the FavoritedImages Surface

Learn about incorporating and integrating XState machines for tasks and implementing a basic state machine.

So far, we have set up a basic machine that could be used to control the user flow in the app. Let’s add a new machine for our real-world use case: liking images in a social media clone app.

Minimum viable product

We’ll start by creating a machine minimum viable product (MVP):

Get hands-on with 1400+ tech skills courses.