Skip to content

Instantly share code, notes, and snippets.

View basanth-ivoyant's full-sized avatar

Basanth Gowda basanth-ivoyant

View GitHub Profile
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@basanth-ivoyant
basanth-ivoyant / machine.js
Last active October 22, 2020 14:16
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@basanth-ivoyant
basanth-ivoyant / machine.js
Last active October 11, 2020 15:24
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@basanth-ivoyant
basanth-ivoyant / machine.js
Last active October 5, 2020 01:56
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
const fetchMachine = Machine({
id: 'initialLoad',
initial: 'start',
context: {
config:[
"a", "b"
]
},
states: {
start:{
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions