clean up prelude (#4416)
* clear away prelude on dioxus * clippy * wip - drop prelude from dioxus-html * docs clippy * wip * more fixe * delete all preludes * doc... * better export * merge some imports * fewer global imports * global incremental renderer * fix cargo doc
This commit is contained in:
1 parent
54d465a7b5
commit
4f1d039bad
140 files changed
+374
-477
No files matched your search
@@ -33,7 +33,7 @@ impl std::fmt::Debug for ScopeId {
|
||||
}
|
||||
|
||||
impl ScopeId {
|
||||
/// The ScopeId of the main scope passed into [`crate::prelude::VirtualDom::new`].
|
||||
/// The ScopeId of the main scope passed into [`crate::VirtualDom::new`].
|
||||
///
|
||||
/// This scope will last for the entire duration of your app, making it convenient for long-lived state
|
||||
/// that is created dynamically somewhere down the component tree.
|
||||
@@ -51,7 +51,7 @@ impl ScopeId {
|
||||
pub const APP: ScopeId = ScopeId(3);
|
||||
|
||||
/// The ScopeId of the topmost scope in the tree.
|
||||
/// This will be higher up in the tree than [`ScopeId::APP`] because dioxus inserts a default [`crate::prelude::SuspenseBoundary`] and [`crate::prelude::ErrorBoundary`] at the root of the tree.
|
||||
/// This will be higher up in the tree than [`ScopeId::APP`] because dioxus inserts a default [`crate::SuspenseBoundary`] and [`crate::ErrorBoundary`] at the root of the tree.
|
||||
// ScopeId(0) is the root scope wrapper
|
||||
pub const ROOT: ScopeId = ScopeId(0);
|
||||
|
||||
|
||||
Reference in new issue
Block a user