Skip to content

Commit ef5617d

Browse files
authored
Update 16/umbraco-cms/customizing/foundation/context-api/consume-a-context.md
1 parent 37a9e1a commit ef5617d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

16/umbraco-cms/customizing/foundation/context-api/consume-a-context.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ In rare cases, you may need complete manual control over context consumption. Th
274274
- Working with legacy code that cannot be refactored
275275
- Building custom architectural patterns outside Umbraco's standard controller system
276276
277-
For these scenario's, use `UmbContextConsumer` directly. This low-level API gives you full control but requires manual lifecycle management. You must call `hostConnected()`, `hostDisconnected()`, and `destroy()`.
277+
For these scenarios, use `UmbContextConsumer` directly. This low-level API gives you full control but requires manual lifecycle management. You must call `hostConnected()`, `hostDisconnected()`, and `destroy()`.
278278
279279
{% hint style="warning" %}
280280
**Use this approach only when necessary.** The methods shown in previous sections handle lifecycle management automatically. These include `UmbLitElement`, `UmbElementMixin`, and `UmbControllerBase`. They are suitable for most use cases.

0 commit comments

Comments
 (0)