#react

nightly bin+lib jsx

JSX syntax extension for Rust. Very early days, this doesn't do much yet.

1 unstable release

Uses old Rust 2015

0.1.0 Nov 18, 2015

#102 in #react

GPL-3.0 license

4KB
81 lines

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.

No runtime deps