Macro either

Source
either!() { /* proc-macro */ }
Expand description

A procedural macro that transforms a conditional expression into a JSX-like syntax.

ยงExamples

use simple_rsx::*;
// Fragment
let show = true;
either!(show => <p>"Show me"</p>);