depreciate the render macro
This commit is contained in:
1 parent
90d0164b9e
commit
e65c5f0eb3
148 files changed
+459
-458
No files matched your search
@@ -156,15 +156,15 @@ impl Debug for LinkProps {
|
||||
///
|
||||
/// #[component]
|
||||
/// fn App() -> Element {
|
||||
/// render! {
|
||||
/// rsx! {
|
||||
/// Router::<Route> {}
|
||||
/// }
|
||||
/// }
|
||||
///
|
||||
/// #[component]
|
||||
/// fn Index() -> Element {
|
||||
/// render! {
|
||||
/// render! {
|
||||
/// rsx! {
|
||||
/// rsx! {
|
||||
/// Link {
|
||||
/// active_class: "active",
|
||||
/// class: "link_class",
|
||||
@@ -244,7 +244,7 @@ pub fn Link(props: LinkProps) -> Element {
|
||||
}
|
||||
};
|
||||
|
||||
render! {
|
||||
rsx! {
|
||||
a {
|
||||
onclick: action,
|
||||
href: "{href}",
|
||||
|
||||
Reference in new issue
Block a user