pub trait JscBridge: Send + Sync {
// Required methods
fn render_page(&self, props_json: String) -> Result<String, String>;
fn render_component(
&self,
component_id: String,
props_json: String,
) -> Result<String, String>;
}Expand description
Trait abstracting the JSC render pool so bext-php doesn’t depend on bext-core.