Dioxus 0.6 is here!
00:00 Introduction
00:49 New Templates
01:25 asset!() macro
01:37 Document components
01:44 New `dx serve
02:20 Formatted String Hotreload
03:05 Component Prop Hotreload
04:20 ios app in dx serve
05:15 android app in dx serve
05:47 loading screens for web apps
06:17 Toasts for apps
06:30 verbose logging for cli
07:12 Integrated dioxus logger
08:10 Inline stack traces for wasm
08:24 Conclusion
Read the whole release post: http://dioxuslabs.com/blog/release-060/
GitHub: https://github.com/DioxusLabs/dioxus
Dioxus is a framework for building fullstack web, desktop, and mobile apps with a single codebase. Our goal is to build a "Flutter but better." Dioxus focuses on first-class fullstack web support, type-safe server/client communication, and blazing fast performance.
With this release, we focused on making Dioxus easier to use, improving the developer experience, and fixing bugs.
Headlining the release is a complete overhaul of the Dioxus CLI:
dx serve for mobile: Serve your app on Android and iOS simulators and devices.
Magical Hot-Reloading: Hot-Reloading of formatted strings, properties, and nested rsx!{}.
Interactive CLI: Rewrite of the Dioxus CLI with a new, interactive UX inspired by Astro.
Inline Stack Traces: Capture WASM panics and logs directly into your terminal.
Server Functions for Native: Inline Server RPC for Desktop and Mobile apps.
We also improved the developer experience across the entire framework, fixing long standing bugs and improving tooling:
Toasts and Loading Screens: New toasts and loading screens for web apps in development.
Improved Autocomplete: Massively improved autocomplete of RSX.
asset! Stabilization: Stabilizing our linker-based asset system integrated for native apps.
Streaming HTML: Stream Suspense and Error Boundaries from the server to the client.
SSG and ISG: Support for Static Site Generation and Incremental Static Regeneration.
Error Handling with ?: Use ? to handle errors in event handlers, tasks, and components.
Meta Elements: New Head, Title, Meta, and Link elements for setting document attributes.
Synchronous prevent_default: Handle events synchronously across all platforms.
onresize Event Handler: Track an element's size without an IntersectionObserver.
onvisible Event Handler: Track an element's visibility without an IntersectionObserver.
WGPU Integration: Render Dioxus as an overlay on top of WGPU surfaces and child windows.
dx bundle for Web, iOS, and Android: Complete dx bundle support for every platform.
json mode: Emit CLI messages as JSON for use by 3rd party tools and CI/CD pipelines.
New Templates: Three new starter templates for cross-platform apps.
Nightly Tutorial and Guides: New tutorials and guides for Dioxus 0.6 and beyond.
Binary Patching Prototype: Prototype of our new pure Rust hot-reloading engine.