Condition statesFebruary 23, 2019 at 8:17pm
A concerned citizen opened an issue to notify me that the term "junction state" was missing from the glossary. And just this week I got around to writing some words about junctions, or condition states.
Give it a read, and let me know what you think. I added a larger "usage" section than normal, because I think that's one value that the glossary could add; how to apply the various Statechart mechanisms in your day-to-day modeling.
February 23, 2019 at 8:20pm
Very interesting, thank you. I found the "usage" section very clear and helpful. I just got a little surprised by the names of the arguments to the guard functions in the XState section (e, xs). It might be clearer to use the same names as used in the documentation (ctx, event). Or do e and xs refer to something explained elsewhere on the site? Just my two cents.
@esrch, I must have mixed up the order of the arguments.
xs refers to the old term for the context, namely "extended state".
February 24, 2019 at 8:46am
February 24, 2019 at 10:37pm
February 25, 2019 at 8:00pm