remove cx.render
This commit is contained in:
159 files changed
+600
-658
No files matched your search
@@ -30,9 +30,9 @@
|
||||
//! }
|
||||
//!
|
||||
//! fn app() -> Element {
|
||||
//! let text = use_state(|| "...".to_string());
|
||||
//! let text = use_signal(|| "...".to_string());
|
||||
//!
|
||||
//! cx.render(rsx! {
|
||||
//! rsx! {
|
||||
//! button {
|
||||
//! onclick: move |_| {
|
||||
//! to_owned![text];
|
||||
|
||||
@@ -25,9 +25,9 @@
|
||||
//! }
|
||||
//!
|
||||
//! fn app() -> Element {
|
||||
//! let text = use_state(|| "...".to_string());
|
||||
//! let text = use_signal(|| "...".to_string());
|
||||
//!
|
||||
//! cx.render(rsx! {
|
||||
//! rsx! {
|
||||
//! button {
|
||||
//! onclick: move |_| {
|
||||
//! to_owned![text];
|
||||
|
||||
@@ -21,9 +21,9 @@
|
||||
//! }
|
||||
//!
|
||||
//! fn app() -> Element {
|
||||
//! let text = use_state(|| "...".to_string());
|
||||
//! let text = use_signal(|| "...".to_string());
|
||||
//!
|
||||
//! cx.render(rsx! {
|
||||
//! rsx! {
|
||||
//! button {
|
||||
//! onclick: move |_| {
|
||||
//! to_owned![text];
|
||||
|
||||
Reference in new issue
Block a user