David Khourshid

Results 451 comments of David Khourshid

Try it locally; I wouldn't trust CodeSandbox's handling of TypeScript right now - it's been pretty buggy.

Try returning a value for the promises; should work:

Is it expected that the `assign` action runs again when you restore from this state? Seems like an unexpected thing to me: if you're restoring a state where `{ count:...

Can you try this with `@xstate/test@beta`?

> I think that ideally, we'd just hide `.actions` as much as possible and disallow their public consumption. We might need to do some introspection at runtime ourselves but that...

> I have a use case where the UI elements and the states of my physical devices in my automated home is driven by the metadata of the states of...

> @Andarist thanks so much. not sure how I missed that! > > in regard to `@xstate/inspect` do you have a beta channel ETA? The WIP PR is here: https://github.com/statelyai/xstate/pull/4082

🧹 Closing as stale - this is a nice-to-have but would need to be redone

Made a pull request to add `.stateNode` for this and many other use-cases @ciekawy: https://github.com/statelyai/xstate/pull/4211