()
| 151 | * this hook will never re-render from state changes. |
| 152 | */ |
| 153 | export function useSetAppState(): (updater: (prev: AppState) => AppState) => void { |
| 154 | return useAppStore().setState; |
| 155 | } |
| 156 | |
| 157 | /** |
| 158 | * Get the store directly (for passing getState/setState to non-React code). |
no test coverage detected