---
title: "Discussion on \"Building a Generic State Machine for Form Handling Using XState\" | Hashnode"
description: "Discussion on \"Building a Generic State Machine for Form Handling Using XState\". If you're a computer scientist or follow @davidkpiano you've probably heard about state machines.\nThey are awesome.\nHere's an example of how to use one for form handling!\nOur designer says the form should look like this:\n\nFrom this concept we can ded..."
url: "https://hashnode.com/posts/building-a-generic-state-machine-for-form-handling-using-xstate/62ef919de3a3793580e028f4"
---

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

Discussion

# [Building a Generic State Machine for Form Handling Using XState](https://blog.robertbroersma.com/building-a-generic-state-machine-for-form-handling-using-xstate?utm_source=hashnode&utm_medium=feed)

If you're a computer scientist or follow @davidkpiano you've probably heard about state machines. They are awesome. Here's an example of how to use one for form handling! Our designer says the form should look like this: From this concept we can ded...

Mar 8, 2020 · 4 min read · blog.robertbroersma.com  
Read the article

-   [#xstate](https://hashnode.com/tag/xstate)
-   [#state-machines](https://hashnode.com/tag/state-machines)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Robert](https://hashnode.com/@robertbroersma)

@robertbroersma

  
[View profile](https://hashnode.com/@robertbroersma)

Maker of Things

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
