more consistent naming of the root component in core
This commit is contained in:
1 parent
7fe6e05da3
commit
3267ddec10
7 files changed
+31
-31
No files matched your search
@@ -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 {})
|
||||
/// }
|
||||
|
||||
Reference in new issue
Block a user