chore: rename all &cx to cx, make clipppy happy
This commit is contained in:
1 parent
e8133e9449
commit
4eefc3f854
85 files changed
+256
-271
No files matched your search
@@ -6,7 +6,7 @@ Dioxus is a portable, performant, and ergonomic framework for building cross-pla
|
||||
|
||||
```rust
|
||||
fn app(cx: Scope) -> Element {
|
||||
let mut count = use_state(&cx, || 0);
|
||||
let mut count = use_state(cx, || 0);
|
||||
|
||||
cx.render(rsx!(
|
||||
h1 { "High-Five counter: {count}" }
|
||||
@@ -48,4 +48,4 @@ Web: Since the web is a fairly mature platform, we expect there to be very littl
|
||||
|
||||
Desktop: APIs will likely be in flux as we figure out better patterns than our ElectronJS counterpart.
|
||||
|
||||
SSR: We don't expect the SSR API to change drastically in the future.
|
||||
SSR: We don't expect the SSR API to change drastically in the future.
|
||||
Reference in new issue
Block a user