Skip to content

Instantly share code, notes, and snippets.

View vyprichenko's full-sized avatar

vyprichenko

  • Odesa, Ukraine
  • 06:32 (UTC +02:00)
View GitHub Profile
const { log, pure } = actions;
const searchModes = {
MAKE: 'Make',
MODEL: 'Model',
ENGINE: 'Engine',
CATALOG: 'Catalog'
};
const searchMachine = Machine(
@vyprichenko
vyprichenko / machine.js
Created February 16, 2020 22:26
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions