Add Effect v4 support, Fast Refresh tooling, and revamped docs #56

Merged
Thilawyn merged 133 commits from next into master 2026-07-26 02:32:59 +02:00
Showing only changes of commit 1cead4bb7b - Show all commits
+3 -2
View File
@@ -50,8 +50,9 @@ const CounterValueView = Component.make("CounterValue")(function* () {
}) })
``` ```
If state belongs to a single Effect-FC component instance but still benefits If state belongs to a single Effect-FC component instance, or to a shallow
from Lens/Subscribable APIs, create it with `Component.useOnMount`: hierarchy of subcomponents that receive it through props, create it with
`Component.useOnMount`:
```tsx ```tsx
import { Effect, SubscriptionRef } from "effect" import { Effect, SubscriptionRef } from "effect"