Working useQuery
All checks were successful
Lint / lint (push) Successful in 13s

This commit is contained in:
Julien Valverdé
2025-02-27 01:19:09 +01:00
parent ae815553f2
commit 7c99d1ff3d
6 changed files with 81 additions and 4 deletions

View File

@@ -1,12 +1,12 @@
import * as AsyncData from "@typed/async-data"
import { Effect } from "effect"
import { Effect, Scope } from "effect"
import * as React from "react"
import { useState } from "react"
import { ReffuseExtension, type ReffuseHelpers } from "reffuse"
export interface UseQueryProps<A, E, R> {
effect(): Effect.Effect<A, E, R>
effect(): Effect.Effect<A, E, R | Scope.Scope>
readonly deps?: React.DependencyList
}