Declare a recorded fact as an input: state("calendar.synced") in needs makes
e.ctx["calendar.synced"] a StateFact. Rides the existing needs
path on purpose — a second way to read external state would give up the
property that the dependency is declared and checkable from outside the hook.
Declare a recorded fact as an input:
state("calendar.synced")inneedsmakese.ctx["calendar.synced"]a StateFact. Rides the existingneedspath on purpose — a second way to read external state would give up the property that the dependency is declared and checkable from outside the hook.