@@ -88,7 +88,7 @@ const use = Effect.fnUntraced(function* <P extends {}, A extends React.ReactNode
|
|||||||
}),
|
}),
|
||||||
Equivalence.array(Equivalence.strict()),
|
Equivalence.array(Equivalence.strict()),
|
||||||
)))[0](Array.from(
|
)))[0](Array.from(
|
||||||
Context.omit(...self.nonReactiveTags ?? [])(runtimeRef.current.context).unsafeMap.values()
|
Context.omit(...self.nonReactiveTags)(runtimeRef.current.context).unsafeMap.values()
|
||||||
))
|
))
|
||||||
})
|
})
|
||||||
|
|
||||||
@@ -99,7 +99,7 @@ export interface ComponentOptions {
|
|||||||
*/
|
*/
|
||||||
readonly displayName?: string
|
readonly displayName?: string
|
||||||
|
|
||||||
readonly nonReactiveTags?: readonly Context.Tag<any, any>[]
|
readonly nonReactiveTags: readonly Context.Tag<any, any>[]
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Specifies the execution strategy for finalizers when the component unmounts or its scope closes.
|
* Specifies the execution strategy for finalizers when the component unmounts or its scope closes.
|
||||||
|
|||||||
Reference in New Issue
Block a user