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 547aeec2fb - Show all commits
+1 -8
View File
@@ -24,7 +24,7 @@ For a web application, install Effect View with Effect 4 and React 19.2 or
newer: newer:
```bash npm2yarn ```bash npm2yarn
npm install effect-view effect react react-dom npm install effect-view effect@beta react react-dom
``` ```
```bash npm2yarn ```bash npm2yarn
@@ -52,13 +52,6 @@ const AppLive = Layer.empty.pipe(
export const runtime = ReactRuntime.make(AppLive) export const runtime = ReactRuntime.make(AppLive)
``` ```
Use `Layer.empty` by itself when the application does not need any additional
services yet:
```tsx
export const runtime = ReactRuntime.make(Layer.empty)
```
Keep the runtime stable. Creating it during a React render would create new Keep the runtime stable. Creating it during a React render would create new
managed resources and a new React context on every render. managed resources and a new React context on every render.