more consistent naming of the root component in core

This commit is contained in:
Evan Almloff committed 2024-01-11 15:23:37 -06:00
1 parent 7fe6e05da3
commit 3267ddec10
7 files changed
+31 -31

No files matched your search

+1 -1
View File
@@ -158,7 +158,7 @@ impl ScopeContext {
/// ```rust, ignore
/// struct SharedState(&'static str);
///
/// static App: Component = |cx| {
/// static app: Component = |cx| {
/// cx.use_hook(|| cx.provide_context(SharedState("world")));
/// render!(Child {})
/// }