Docs
Lint / lint (push) Successful in 17s

This commit is contained in:
Julien Valverdé
2026-06-09 11:18:08 +02:00
parent 91670779fe
commit 3000ff2d87
+4
View File
@@ -182,6 +182,10 @@ The component scope is created when React mounts the component and closes when
React unmounts it. When the scope closes, Effect runs the finalizers registered
inside that scope.
Finalizers are forked when the scope closes, so cleanup logic can run
asynchronous Effects even though the component body itself must stay
synchronous.
```tsx title="src/MountedMessageView.tsx"
import { Console, Effect } from "effect"
import { Component } from "effect-fc"