wip: cleanup public apis
This commit is contained in:
1 parent
8b0eb87c72
commit
927b05f358
13 files changed
+178
-371
No files matched your search
@@ -40,42 +40,3 @@ We have big goals for Dioxus. The final implementation must:
|
||||
- Be "live". Components should be able to be both server rendered and client rendered without needing frontend APIs.
|
||||
- Be modular. Components and hooks should be work anywhere without worrying about target platform.
|
||||
|
||||
## Optimizations
|
||||
|
||||
- Support a pluggable allocation strategy that makes VNode creation **very** fast
|
||||
- Support lazy VNodes (ie VNodes that are not actually created when the html! macro is used)
|
||||
- Support advanced diffing strategies (patience, Meyers, etc)
|
||||
|
||||
```rust
|
||||
|
||||
rsx!{ "this is a text node" }
|
||||
|
||||
rsx!{
|
||||
div {}
|
||||
"asd"
|
||||
div {}
|
||||
div {}
|
||||
}
|
||||
rsx!{
|
||||
div {
|
||||
a {}
|
||||
b {}
|
||||
c {}
|
||||
Container {
|
||||
Container {
|
||||
Container {
|
||||
Container {
|
||||
Container {
|
||||
div {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
```
|
||||
Reference in new issue
Block a user