Untraced hooks
Lint / lint (push) Successful in 12s

This commit is contained in:
Julien Valverdé
2025-08-07 07:42:34 +02:00
parent fa90d9438b
commit c158cdef19
14 changed files with 14 additions and 14 deletions
@@ -9,7 +9,7 @@ export const useScope: {
deps: React.DependencyList,
options?: ScopeOptions,
): Effect.Effect<Scope.Scope>
} = Effect.fn("useScope")(function*(deps, options) {
} = Effect.fnUntraced(function*(deps, options) {
const runtime = yield* Effect.runtime()
const [isInitialRun, initialScope] = React.useMemo(() => Runtime.runSync(runtime)(Effect.all([