jsx

Crates.iojsx
lib.rsjsx
version0.1.0
sourcesrc
created_at2015-11-18 13:01:20.215996
updated_at2015-12-11 23:57:02.323352
descriptionJSX syntax extension for Rust. Very early days, this doesn't do much yet.
homepage
repositoryhttps://github.com/camjackson/jsx-rs
max_upload_size
id3449
size3,781
Cam Jackson (camjackson)

documentation

README

jsx-rs

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.

Commit count: 14

cargo fmt