This commit is contained in:
@@ -25,7 +25,7 @@ export type TodoProps = (
|
||||
| { readonly _tag: "edit", readonly index: number }
|
||||
)
|
||||
|
||||
export class Todo extends Component.make(function* Todo(props: TodoProps) {
|
||||
export class Todo extends Component.make(Effect.fnUntraced(function* Todo(props: TodoProps) {
|
||||
const runtime = yield* Effect.runtime()
|
||||
const state = yield* TodosState
|
||||
|
||||
@@ -122,6 +122,6 @@ export class Todo extends Component.make(function* Todo(props: TodoProps) {
|
||||
}
|
||||
</Flex>
|
||||
)
|
||||
}).pipe(
|
||||
})).pipe(
|
||||
Memoized.memo
|
||||
) {}
|
||||
|
||||
Reference in New Issue
Block a user