Skip to content
#

state-machine

Here are 820 public repositories matching this topic...

xstate
AleBlondin
AleBlondin commented Mar 10, 2020

Bug or feature request?

Documentation / feature proposal

Description:

Hi, I just implemented my first state machine on my React/TypeScript project with xstate ! I followed the documentation but I faced some issues. I would like to present some technical solutions and code snippets that I wrote to overcome those issues:

  • createMachineContext instead of createContext to overcome TypeScr
argoyb
argoyb commented Apr 15, 2019

Documentation says there is a listener @OnTransitionDecline, however I can't find anything on how to trigger transition decline.

To give some context use case I'm working on right now: running computation in another service. There are four states: SUBMITTED - submits item to another system - IN PROGRESS - checks the status of item in another system. If still in progress state is not chang

workflow
zach-klippenstein
zach-klippenstein commented Feb 15, 2020

If you think this will be the same for all apps you could just extract it into a separate .gradle file and apply to demo apps.

Something like:

./buildscript/configure-sample-app.gradle

apply plugin: 'com.android.application'

android {
  defaultConfig {
    testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  }

  testOptions {
    animationsDisabled = true

Improve this page

Add a description, image, and links to the state-machine topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the state-machine topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.