prep for 0.7 release

This commit is contained in:
Jonathan Kelley committed 2025-10-30 21:26:01 -07:00
1 parent 1b81d89f0b
commit 8f85114d46
40 files changed
+86 -86

No files matched your search

+4 -4
View File
@@ -6,7 +6,7 @@
class="darkmode-image"
>
<div>
<a href=https://dioxuslabs.com/learn/0.6/getting_started>Getting Started</a> | <a href="https://dioxuslabs.com/learn/0.6">Book (0.6)</a> | <a href="https://github.com/DioxusLabs/dioxus/tree/main/examples">Examples</a>
<a href=https://dioxuslabs.com/learn/0.7/getting_started>Getting Started</a> | <a href="https://dioxuslabs.com/learn/0.7/">Book (0.6)</a> | <a href="https://github.com/DioxusLabs/dioxus/tree/main/examples">Examples</a>
</div>
</div>
@@ -156,7 +156,7 @@ fn Header(title: String, color: String) -> Element {
}
```
> You can read more about props in the [reference](https://dioxuslabs.com/learn/0.6/reference/component_props).
> You can read more about props in the [reference](https://dioxuslabs.com/learn/0.7/essentials/ui/components).
## Hooks
@@ -176,7 +176,7 @@ fn App() -> Element {
}
```
Hooks are sensitive to how they are used. To use hooks, you must abide by the ["rules of hooks"](https://dioxuslabs.com/learn/0.6/reference/hooks#rules-of-hooks):
Hooks are sensitive to how they are used. To use hooks, you must abide by the ["rules of hooks"](https://dioxuslabs.com/learn/0.7/reference/hooks#rules-of-hooks):
- Hooks can only be called in the body of a component or another hook. Not inside of another expression like a loop, conditional or function call.
- Hooks should start with "use\_"
@@ -210,7 +210,7 @@ fn App() -> Element {
## Conclusion
This overview doesn't cover everything. Make sure to check out the [tutorial](https://dioxuslabs.com/learn/0.6/guide) and [guides](https://dioxuslabs.com/learn/0.6/guides) on the official
This overview doesn't cover everything. Make sure to check out the [tutorial](https://dioxuslabs.com/learn/0.7/tutorial) and [guides](https://dioxuslabs.com/learn/0.7/tutorial) on the official
website for more details.
Beyond this overview, Dioxus supports:
+1 -1
View File
@@ -9,7 +9,7 @@
//! - `html`: (default) exports `dioxus-html` as the default elements to use in rsx
//! - `hooks`: (default) re-exports `dioxus-hooks`
//! - `hot-reload`: (default) enables hot rsx reloading in all renderers that support it
//! - `router`: exports the [router](https://dioxuslabs.com/learn/0.6/router) and enables any router features for the current platform
//! - `router`: exports the [router](https://dioxuslabs.com/learn/0.7/router) and enables any router features for the current platform
//! - `third-party-renderer`: Just disables warnings about no active platform when no renderers are enabled
//! - `logger`: Enable the default tracing subscriber for Dioxus apps
//!