From 37d5f93c2108ff5d205df838319010a315229a4c Mon Sep 17 00:00:00 2001 From: Evan Almloff Date: Thu, 12 Sep 2024 19:49:18 -0500 Subject: [PATCH] Remove mention of suspense/streaming in readme comparison - dioxus now supports streaming suspense (#2950) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index adca7ee27..c330b7399 100644 --- a/README.md +++ b/README.md @@ -316,7 +316,7 @@ fn Counters() -> impl IntoView { - **`Copy` state**: Dioxus 0.1 to 0.4 relied on lifetimes to relax the rules of Rust's borrow checker. This worked well for event handlers, but struggled around async. In Dioxus 0.5, we've switched to a [`Copy` state model](https://crates.io/crates/generational-box) borrowed from Leptos. -- **Different scopes**: Dioxus provides renderers for web, desktop, mobile, LiveView, and more. We also maintain community libraries and a cross-platform SDK. The scope of this work is huge, meaning we've historically released at a slower cadence than Leptos. Leptos focuses on the fullstack web, with features that Dioxus doesn't have like ``-based streaming HTML, islands, `
` components, and other web-specific features. Generally, web apps you build with Leptos will have a smaller footprint. +- **Different scopes**: Dioxus provides renderers for web, desktop, mobile, LiveView, and more. We also maintain community libraries and a cross-platform SDK. The scope of this work is huge, meaning we've historically released at a slower cadence than Leptos. Leptos focuses on the fullstack web, with features that Dioxus doesn't have like islands, `` components, and other web-specific features. Generally, web apps you build with Leptos will have a smaller footprint. - **Different DSLs**: While both frameworks target the web, Dioxus uses its own custom Rust-like DSL for building UIs while Leptos uses a more HTML-like syntax. We chose this to retain compatibility with IDE features like codefolding and syntax highlighting. Generally, Dioxus leans into more "magic" with its DSL. For example, dioxus will automatically format strings for you while Leptos can split up strings into static and dynamic segments.