Skip to content

Commit f81fd6f

Browse files
committed
docs: remove reactivity section from foundation composables
1 parent c635eb3 commit f81fd6f

File tree

3 files changed

+0
-30
lines changed

3 files changed

+0
-30
lines changed

apps/docs/src/pages/composables/foundation/create-context.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -99,16 +99,4 @@ Click the buttons to add notifications. Click a notification to dismiss it.
9999

100100
:::
101101

102-
## Reactivity
103-
104-
`createContext` is a **factory function** that returns plain functions. It does not introduce reactivity itself—reactivity comes from the values you provide.
105-
106-
| Return | Reactive | Notes |
107-
| - | :-: | - |
108-
| `useContext()` | <AppErrorIcon /> | Function, returns injected value |
109-
| Injected value | <AppSuccessIcon /> | If you provide refs/reactive objects |
110-
111-
> [!TIP] Reactivity is what you provide
112-
> The context system is a transport layer. If you provide `ref()` or `reactive()` values, consumers get reactive access. Plain objects remain plain.
113-
114102
<DocsApi />

apps/docs/src/pages/composables/foundation/create-plugin.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,4 @@ flowchart LR
100100
install --> app.runWithContext
101101
```
102102

103-
## Reactivity
104-
105-
`createPlugin` is a **factory function** that returns a Vue plugin object. It does not introduce reactivity—it's a vehicle for providing contexts at app level.
106-
107-
> [!TIP] Reactivity lives in what you provide
108-
> The plugin is just the delivery mechanism. Reactive state comes from the contexts you provide via `provideContext()`.
109-
110103
<DocsApi />

apps/docs/src/pages/composables/foundation/create-trinity.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,4 @@ flowchart LR
8181
C --> Fallback
8282
```
8383

84-
## Reactivity
85-
86-
`createTrinity` is a **factory function** that returns a tuple of functions and a default context. It does not introduce reactivity—it structures access to contexts you create.
87-
88-
| Return | Reactive | Notes |
89-
| - | :-: | - |
90-
| `defaultContext` | <AppSuccessIcon /> | If the context object contains refs/reactive |
91-
92-
> [!TIP] Trinity is a pattern, not a reactive primitive
93-
> The trinity pattern organizes your context into a consistent tuple. Reactivity depends on what you put in `defaultContext`.
94-
9584
<DocsApi />

0 commit comments

Comments
 (0)