docs: create a new "advanced" book

This commit is contained in:
Jonathan Kelley committed 2021-10-29 00:40:36 -04:00
1 parent 54d050cf89
commit 97a2c62804
69 files changed
+24 -9

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
# Error handling
Astute observers might have noticed that `Element` is actually a type alias for `Option<VNode>`. You don't need to know what a `VNode` is, but it's important to recognize that we could actually return nothing at all:
```rust
fn App((cx, props): Component<()>) -> Element {
None
}
```