From 547aeec2fb60704289c059411dd390be917db9ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Valverd=C3=A9?= Date: Wed, 22 Jul 2026 03:51:26 +0200 Subject: [PATCH] Update docs --- packages/docs/docs/getting-started.md | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/packages/docs/docs/getting-started.md b/packages/docs/docs/getting-started.md index 17d32cf..a6ab807 100644 --- a/packages/docs/docs/getting-started.md +++ b/packages/docs/docs/getting-started.md @@ -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.