Skip to content

Instantly share code, notes, and snippets.

@domosedov
Created August 17, 2021 17:34
Show Gist options
  • Save domosedov/e1231f659b6884cd0d4fc49d303ce628 to your computer and use it in GitHub Desktop.
Save domosedov/e1231f659b6884cd0d4fc49d303ce628 to your computer and use it in GitHub Desktop.
Effector.js Snippets
// get data from clock & source
guard({
source: sample(
$source,
clock,
(source, clock) => ({ source, clock })
),
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment