Utoljára aktív 1729153573

Revízió 399f83c822a6a18cd2b451abcd3cec6e7cc787f1

Dioxus-div.md Eredeti

Web

Tier 1 Support

  • Render directly to the DOM using WebAssembly
  • Pre-render with SSR and rehydrate on the client
  • Simple "hello world" at about 50kb, comparable to React
  • Built-in dev server and hot reloading for quick iteration

Fullstack

Tier 1 Support

  • Suspense, hydration, and server-side rendering
  • Quickly drop in backend functionality with server functions
  • Extractors, middleware, and routing integrations
  • Compatible with desktop and mobile!

Desktop

Tier 1 Support

  • Render using Webview or - experimentally - with WGPU or Freya (skia)
  • Zero-config setup. Simply cargo run or dx serve to build your app
  • Full support for native system access without IPC
  • Supports macOS, Linux, and Windows. Portable <3mb binaries

Liveview

Tier 1 Support

  • Render apps - or just a single component - entirely on the server
  • Integrations with popular Rust frameworks like Axum and Warp
  • Extremely low-latency and ability to support 10,000+ simultaneous apps

Mobile

Tier 2 Support

  • Render using Webview or - experimentally - with WGPU or Skia
  • Support for iOS and Android
  • Currently quite experimental, with lots of improvements coming throughout 2024

Terminal

Tier 2 Support

  • Render apps directly into your terminal, similar to ink.js
  • Powered by the familiar flexbox and CSS model of the browser
  • Built-in widgets like text input, buttons, and focus system