0.1.2 #3
@@ -35,7 +35,6 @@ const ComponentProto = Object.freeze({
|
||||
|
||||
commit: Effect.fnUntraced(function* <E, R, P extends {}>(this: Component<E, R, P>) {
|
||||
const self = this
|
||||
|
||||
const runtimeRef = React.useRef<Runtime.Runtime<Exclude<R, Scope.Scope>>>(null!)
|
||||
runtimeRef.current = yield* Effect.runtime<Exclude<R, Scope.Scope>>()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user