Skip to content

Instantly share code, notes, and snippets.

View cellog's full-sized avatar

Gregory Beaver cellog

View GitHub Profile
@cellog
cellog / machine.js
Created May 5, 2020 14:46
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@cellog
cellog / machine.js
Last active April 13, 2020 01:36
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@cellog
cellog / machine.js
Last active April 11, 2020 01:52
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@cellog
cellog / machine.js
Last active April 11, 2020 01:12
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@cellog
cellog / machine.js
Last active April 11, 2020 01:12
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@cellog
cellog / machine.js
Last active April 11, 2020 01:11
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@cellog
cellog / machine.js
Last active April 11, 2020 01:10
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@cellog
cellog / machine.js
Last active April 10, 2020 15:49
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@cellog
cellog / DragBooked.js
Created March 15, 2017 21:13
React-DnD testing example
import { DragSource } from 'react-dnd';
import Booked from '../components/Booked'
const source = {
beginDrag(props) {
return {
group: props.group,
slot: props.slot,
room: props.room
@cellog
cellog / machine.js
Last active January 27, 2020 19:06
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions