Crates.io | jsx |
lib.rs | jsx |
version | 0.1.0 |
source | src |
created_at | 2015-11-18 13:01:20.215996 |
updated_at | 2015-12-11 23:57:02.323352 |
description | JSX syntax extension for Rust. Very early days, this doesn't do much yet. |
homepage | |
repository | https://github.com/camjackson/jsx-rs |
max_upload_size | |
id | 3449 |
size | 3,781 |
JSX syntax extension for Rust. Very early days, this doesn't do much yet.
When it's done, it will turn this:
jsx!(<div className="hello"><img src="world.jpg"/></div>
into this:
react.Div {
className: "hello",
children: vec![react.Img { src: "world.jpg" }]
}
Those structs will come from react-rs.