Remove dioxus-lib, fix doc imports (#4438)
* remove dioxus lib * inline some doc items * fix tests * test docs * Fix doc tests * Pull out dioxus/lib feature * disable logger and devtools in library feature * fix cargo doc * fix cargo doc
This commit is contained in:
1 parent
4cb32d372b
commit
98f7667fb4
59 files changed
+216
-530
No files matched your search
@@ -4,7 +4,7 @@
|
||||
|
||||
```rust, no_run
|
||||
# tokio::runtime::Runtime::new().unwrap().block_on(async {
|
||||
use dioxus_core::{VirtualDom, Event, Element, Mutations};
|
||||
use dioxus_core::{VirtualDom, Event, Element, Mutations, VNode, ElementId};
|
||||
|
||||
let mut vdom = VirtualDom::new(app);
|
||||
let real_dom = SomeRenderer::new();
|
||||
@@ -59,7 +59,7 @@ The `dioxus` crate exports the `rsx` macro which transforms a helpful, simpler s
|
||||
First, start with your app:
|
||||
|
||||
```rust
|
||||
# use dioxus::dioxus_core::Mutations;
|
||||
# use dioxus::dioxus_core::{Mutations, VirtualDom};
|
||||
use dioxus::prelude::*;
|
||||
|
||||
// First, declare a root component
|
||||
|
||||
Reference in new issue
Block a user