Jonathan Kelley cd57d6219c wip: crates define their own versions 4 kuukautta sitten
..
examples f0d814fede Extract some simple cleanups from 2779 (#2966) 9 kuukautta sitten
src 343c48f5ad fix: viewBox translation by not accidentally stringifying literals (#3527) 5 kuukautta sitten
tests 343c48f5ad fix: viewBox translation by not accidentally stringifying literals (#3527) 5 kuukautta sitten
Cargo.toml cd57d6219c wip: crates define their own versions 4 kuukautta sitten
README.md 66a50240bc Update all docs links to 0.6, release 0.6 (#3225) 6 kuukautta sitten

README.md

rsx-rosetta

Crates.io MIT licensed Build Status Discord chat

Website | Guides | API Docs | Chat

Overview

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:

  • HTML
  • Syn (todo)
  • Akama (todo)
  • Jinja (todo)

From there, you can convert directly to a string or into some other AST.

Contributing

  • Report issues on our issue tracker.
  • Join the discord and ask questions!

License

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.