---
title: "Discussion on \"Avoid impossible UI states with React, Typescript and XState\" | Hashnode"
description: "Discussion on \"Avoid impossible UI states with React, Typescript and XState\". To build robust UIs often means to take all possible UI states into consideration and to make sure components behave consistently and correctly throughout. One way to do this is to prevent UIs from getting into impossible states. In this scenario, an..."
url: "https://hashnode.com/posts/avoid-impossible-ui-states-with-react-typescript-and-xstate/633963e3fa20fa4bc8e584fd"
---

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

Discussion

# [Avoid impossible UI states with React, Typescript and XState](https://whereisthemouse.hashnode.dev/avoid-impossible-ui-states-with-react-typescript-and-xstate?utm_source=hashnode&utm_medium=feed)

To build robust UIs often means to take all possible UI states into consideration and to make sure components behave consistently and correctly throughout. One way to do this is to prevent UIs from getting into impossible states. In this scenario, an...

Oct 2, 2022 · 6 min read · whereisthemouse.hashnode.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#react-state](https://hashnode.com/tag/react-state)
-   [#xstate](https://hashnode.com/tag/xstate)
-   [#typescript](https://hashnode.com/tag/typescript)

## Written by

[Iva Kop](https://hashnode.com/@IvaKop)

@IvaKop

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

Software developer | Content creator | ReactJS enthusiast

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
