@zedux/atoms
Version:
A Molecular State Engine for React
9 lines (8 loc) • 398 B
TypeScript
import { AnyAtomInstance, PartialAtomInstance } from '../types/index';
/**
* An unrestricted injector (can actually be used in loops and if statements).
*
* Returns the currently-evaluating AtomInstance. Note that this instance will
* not have its `exports`, `promise`, or `store` set yet on initial evaluation.
*/
export declare const injectSelf: () => AnyAtomInstance | PartialAtomInstance;