Server Side Rendering

Hirola supports basic server side rendering with the feature ssr.

Example

fn main(){
    let app = HirolaApp::new();
    let res = app.render_to_string(counter);
    assert_eq!("<div><button>Increment</button><span>0</span></div>", &res);
}