Sha256: 862786f0a63df29fb8361d1e275c36990546149280e637bcb7bfade53c7c08a6

Contents?: true

Size: 315 Bytes

Versions: 4

Compression:

Stored size: 315 Bytes

Contents

export { useArSyncFetch } from '../core/hooksBase'
import { useArSyncModelWithClass, Request, DataAndStatus } from '../core/hooksBase'
import ArSyncModel from './ArSyncModel'

export function useArSyncModel<T>(request: Request | null): DataAndStatus<T> {
  return useArSyncModelWithClass<T>(ArSyncModel, request)
}

Version data entries

4 entries across 2 versions & 1 rubygems

Version Path
ar_sync-1.0.1 src/graph/hooks.ts
ar_sync-1.0.1 src/tree/hooks.ts
ar_sync-1.0.0 src/graph/hooks.ts
ar_sync-1.0.0 src/tree/hooks.ts