docs: create a new "advanced" book
This commit is contained in:
1 parent
54d050cf89
commit
97a2c62804
69 files changed
+24
-9
No files matched your search
@@ -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
|
||||
}
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user