menu

Statecharts

Statecharts are a precise, visual way of modeling the behaviour of complex reactive systems. They describe how things work, and can help you get your code doing exactly what you want.

Channels
Team
Posts
Members
Info

Hi everyone

I'm Freddie, I'm a front end developer and I've been happily using redux for a long time now :) However, after reading about FSM's and looking into xstate, it just makes sense to me that we should build our UI's like this. I get the feeling that this will be the next big…

thumbsup
4
message-simple
1

heard the Syntax podcast on xstate and tried it to crack a problem.

The problem I was having was maintaining redux state of a SVG drawing app that supports selection of multiple components. I wanted to model support for: • shift click to toggle • area selection …

thumbsup
0
message-simple
0

Hi I'm Stephen

I got into statecharts after building a highly complex sign up form for a split test that I modeled using lucidchart. At some point I asked myself if there was a better way than the way I had done it, then discovered statecharts. It's great to see that there are others in the…

thumbsup
3
message-simple
1

Bernhard Mayr

Hey everyone, I'm Bernhard and after reading and learning so many things here on Spectrum I think it's finally time to introduce myself. I am part-time software architect and part-time psychology student and I have been deep-diving into statecharts for the last four months. I…

thumbsup
4
message-simple
6

Nate Morse

I've done some work (mostly experimental) in visual languages, several flavors of data-flow and FSAs. Related to UI Dev, I have rolled my own FSA interpreter, and that was fun, but I am ready to leave that behind and dive into the more expressive statecharts (probably using…

thumbsup
2
message-simple
3

Wiktor

I'm a frontend developer. At my company we mainly use Redux for managing state. I was wondering whether there is a better way to work with and, most importantly, think about state. Turns out there is—statecharts! I'm surprisingly excited to be explore this topic!

thumbsup
2
message-simple
10

Bogdan Zaharia

Hello! I'm interested into making FSMs type-safe (i.e. restricting transitions & associated data type). I've made a library[1] to explore this topic and gave a talk[2] at JSHeroes about it. [1] • https://github.com/zaboco/typed-machine - the master branch of the repo is out of…

thumbsup
7
message-simple
1

Chris Zempel

Hello. Spent many years as a full-stack dev in past lives, and now I've gone full front-end. Currently building an incentives platform on top of an in-migration monolith -> microservice setup. Interested in xstate/statecharts for a bevy of reasons, including: actor-based ui's…

thumbsup
3
message-simple
7

Parminder Sanghera

Hi all! I'm new to statecharts but looking forward to using them in my applications. I have a background in Mechanical Engineering.

thumbsup
2
message-simple
2

Matt Ruby

Hello everyone! I've been working in the front end space for many years. Mostly public retail websites (roomandboard.com). After writing a particularly nasty state machine for a relatively small feature I decided there had to be a better way! That drove me to statecharts and…

thumbsup
2
message-simple
0