Update docs
Lint / lint (push) Failing after 41s

This commit is contained in:
Julien Valverdé
2026-07-22 03:51:26 +02:00
parent 1651e96696
commit 547aeec2fb
+1 -8
View File
@@ -24,7 +24,7 @@ For a web application, install Effect View with Effect 4 and React 19.2 or
newer:
```bash npm2yarn
npm install effect-view effect react react-dom
npm install effect-view effect@beta react react-dom
```
```bash npm2yarn
@@ -52,13 +52,6 @@ const AppLive = Layer.empty.pipe(
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
managed resources and a new React context on every render.