depreciate the render macro

This commit is contained in:
Evan Almloff committed 2024-01-16 13:18:46 -06:00
1 parent 90d0164b9e
commit e65c5f0eb3
148 files changed
+459 -458

No files matched your search

@@ -67,11 +67,11 @@
//!
//! #[name_changer(CoolName)]
//! pub fn LameName() -> Element {
//! render! { "I want a cool name!" }
//! rsx! { "I want a cool name!" }
//! }
//!
//! pub fn App() -> Element {
//! render! { CoolName {} } // Renders: "I want a cool name!"
//! rsx! { CoolName {} } // Renders: "I want a cool name!"
//! }
//! ```
//! ## Implementing a component body deserializer