react

React library for server-side rendering with Rust. Very early days, this doesn't do much yet.


Keywords
html, react, jsx, javascript
License
GPL-3.0

Documentation

react-rs

React library for server-side rendering with Rust. Very early days, this doesn't do much yet.

When it's done, this:

react.Div { 
  className: "hello",
  children: vec![react.Img { src: "world.jpg" }]
}.render()

will return this:

<div class="hello"><img src="world.jpg"/></div>

However, Instead of writing that very verbose Rust, you'll be able to use jsx-rs.