type Cursor<T> = () => Pair<T> & DeepCursor<T>
Cursors
const barCursor = cursor.foo.bar;
const [value, updateValue] = cursor.foo.bar();
packages / state / src / types.ts