mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-12-12 13:52:29 +00:00
27 lines
553 B
Markdown
27 lines
553 B
Markdown
|
# Choose your architecture type:
|
||
|
- Static Pages
|
||
|
- Server-side-rendering
|
||
|
- Pure SPA
|
||
|
- Hybrid SPA (liveview)
|
||
|
|
||
|
|
||
|
## Static Pages
|
||
|
You'll want the TextRenderer crate.
|
||
|
Use it imperatively by passing props and rendering to string.
|
||
|
|
||
|
## Server-side-rendering
|
||
|
You'll want the TextRenderer crate.
|
||
|
Serve it with a dedicated middleware crate.
|
||
|
|
||
|
## Pure SPA
|
||
|
You'll want the WebSys Crate.
|
||
|
|
||
|
## Hybrid SPA (hydration)
|
||
|
You'll want the WebSys Crate
|
||
|
You'll want the TextRenderer crate
|
||
|
|
||
|
|
||
|
## Hybrid SPA (liveview)
|
||
|
You'll want the WebSys crate.
|
||
|
You'll want the Liveview crate.
|