diff --git a/packages/effect-fc/src/Component.ts b/packages/effect-fc/src/Component.ts index 5e74bf6..63ce0d5 100644 --- a/packages/effect-fc/src/Component.ts +++ b/packages/effect-fc/src/Component.ts @@ -88,7 +88,7 @@ const use = Effect.fnUntraced(function*
[] + /** * Specifies the execution strategy for finalizers when the component unmounts or its scope closes. * Determines whether finalizers execute sequentially or in parallel. @@ -119,14 +120,12 @@ export interface ComponentOptions { } export const defaultOptions: ComponentOptions = { + nonReactiveTags: [Tracer.ParentSpan], finalizerExecutionStrategy: ExecutionStrategy.sequential, finalizerExecutionDebounce: "100 millis", } -export const nonReactiveTags = [Tracer.ParentSpan] as const - - export const isComponent = (u: unknown): u is Component<{}, React.ReactNode, unknown, unknown> => Predicate.hasProperty(u, ComponentTypeId) export declare namespace make {