Files
dioxus/packages
John Costa cece12b57e docs: clarify difference between use_context and consume_context (#5406)
* docs: clarify difference between use_context and consume_context

Document the key distinction: use_context is a hook that captures the
context value once on first render and caches it, following the rules
of hooks. consume_context reads directly from the runtime each time
and can be called from anywhere (event handlers, async tasks, etc.).

Fixes #3862

* fix: remove redundant explicit rustdoc link targets

* fix: use plain text for cross-crate use_context reference in rustdoc
2026-03-24 08:10:13 -05:00
..
2026-03-23 17:18:57 -07:00
2025-08-20 10:49:03 -07:00
2026-01-25 13:54:26 -08:00
2025-10-30 21:26:01 -07:00
2025-10-30 21:26:01 -07:00
2025-11-17 08:09:41 -06:00
2026-02-16 08:39:43 -06:00