---
title: "Discussion on \"From Zustand to Xstate: the Zen of using the right tool\" | Hashnode"
description: "Discussion on \"From Zustand to Xstate: the Zen of using the right tool\". I've known and seen demos of Xstate for a while but never felt the need to use it in a project. My understanding was and still is that Xstate shines in complex flow. Recently I worked on a small personal project that I built with Zustand I thought th..."
url: "https://hashnode.com/posts/from-zustand-to-xstate-the-zen-of-using-the-right-tool/64b3f46405c49d430a5bb9cb"
---

[Feed](https://hashnode.com/feed) /

Discussion

[Fawaz Alharbi](https://hashnode.com/@fawwaz)

Jul 16, 2023

# [From Zustand to Xstate: the Zen of using the right tool](https://blog.fawwaz.dev/from-zustand-to-xstate-the-zen-of-using-the-right-tool?utm_source=hashnode&utm_medium=feed)

I've known and seen demos of Xstate for a while but never felt the need to use it in a project. My understanding was and still is that Xstate shines in complex flow. Recently I worked on a small personal project that I built with Zustand I thought th...

blog.fawwaz.dev 7 min read

## Responses 3

Markdown supported · ⌘↵ to post

[Rizwan Malek](https://hashnode.com/@rizwan08)

Software Engineer

[Jul 21, 2023](https://hashnode.com/posts/from-zustand-to-xstate-the-zen-of-using-the-right-tool/64b3f46405c49d430a5bb9cb/comment/64ba180b9574a8e2c70c6bc2)

Amazing, Thank you for the sharing :)

[Sandeep Panda](https://hashnode.com/@sandeep)

co-founder, Hashnode

[Jul 19, 2023](https://hashnode.com/posts/from-zustand-to-xstate-the-zen-of-using-the-right-tool/64b3f46405c49d430a5bb9cb/comment/64b7996df6245cc63f15c718)

Thanks for sharing the story!

[Abhay Singh Rathore](https://hashnode.com/@abhaysinghr1)

[Jul 16, 2023](https://hashnode.com/posts/from-zustand-to-xstate-the-zen-of-using-the-right-tool/64b3f46405c49d430a5bb9cb/comment/64b414370470cd817f0e0c43)

The transition from Zustand to Xstate brought clarity and efficiency to the project's business logic, aligning code with the mental model and enabling seamless flow modeling.
