( valueId: MaybeAccessor<Id>, storeOrStoreId?: MaybeAccessor<StoreOrStoreId | undefined>, )
| 722 | ); |
| 723 | |
| 724 | export const useValue = ( |
| 725 | valueId: MaybeAccessor<Id>, |
| 726 | storeOrStoreId?: MaybeAccessor<StoreOrStoreId | undefined>, |
| 727 | ): Accessor<ValueOrUndefined> => |
| 728 | useListenable( |
| 729 | VALUE, |
| 730 | useStoreOrStoreById(storeOrStoreId), |
| 731 | ReturnType.CellOrValue, |
| 732 | [valueId], |
| 733 | ); |
| 734 | |
| 735 | export const useValueState = ( |
| 736 | valueId: MaybeAccessor<Id>, |
searching dependent graphs…