Update all docs links to 0.6, release 0.6 (#3225)
* update doc links to 0.6 * add new splash pages for crates * update keyword features * remove some unnecessary links
This commit is contained in:
1 parent
d7d2c2fd53
commit
66a50240bc
58 files changed
+298
-229
No files matched your search
@@ -3,7 +3,7 @@
|
||||
|
||||
You will often need to move state around between your components. Dioxus provides three different ways to pass around state:
|
||||
|
||||
1. Just pass your values as [props](https://dioxuslabs.com/learn/0.5/reference/component_props):
|
||||
1. Just pass your values as [props](https://dioxuslabs.com/learn/0.6/reference/component_props):
|
||||
|
||||
```rust
|
||||
# use dioxus::prelude::*;
|
||||
@@ -30,7 +30,7 @@ fn IncrementButton(mut count: Signal<i32>) -> Element {
|
||||
|
||||
This is the most common way to pass state around. It is the most explicit and local to your component. Use this when it isn't overly annoying to pass around a value.
|
||||
|
||||
2. Use [use_context](https://dioxuslabs.com/learn/0.5/reference/context) to pass state from a parent component to all children:
|
||||
2. Use [use_context](https://dioxuslabs.com/learn/0.6/reference/context) to pass state from a parent component to all children:
|
||||
|
||||
```rust
|
||||
# use dioxus::prelude::*;
|
||||
|
||||
Reference in new issue
Block a user