Crates.io | dioxus-rsx-rosetta |
lib.rs | dioxus-rsx-rosetta |
version | 0.6.0-alpha.5 |
source | src |
created_at | 2024-10-14 19:39:58.918747 |
updated_at | 2024-11-16 04:34:01.297843 |
description | Autofomatter for Dioxus RSX |
homepage | https://dioxuslabs.com |
repository | https://github.com/DioxusLabs/dioxus/ |
max_upload_size | |
id | 1408627 |
size | 38,638 |
rsx-rosetta
Website | Guides | API Docs | Chat
Dioxus sports its own templating language inspired by C#/Kotlin/RTMP, etc. It's pretty straightforward.
However, it's NOT HTML. This is done since HTML is verbose and you'd need a dedicated LSP or IDE integration to get a good DX in .rs files.
RSX is simple... It's similar enough to regular Rust code to trick most IDEs into automatically providing support for things like block selections, folding, highlighting, etc.
To accommodate the transition from HTML to RSX, you might need to translate some existing code.
This library provides a central AST that can accept a number of inputs:
From there, you can convert directly to a string or into some other AST.
This project is licensed under the MIT license.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Dioxus by you, shall be licensed as MIT, without any additional terms or conditions.